Change layouts logging

Each node was logged loaded to the layouts table was being logged
using debug(), which produces a great number of messages with
minimal value. I changed the message to debug3() and moved it
in the code so it would not be generated when an error() message
is also generated.