add some extra details to log messages