Attractors for a Caginalp model with a logarithmic potential and coupled dynamic boundary conditions