Better positioning of log messages