better logger formatting