added logger formatting