reformat log message
try another way to clean db sessions
more debug prints cleanup