made logging a bit more sane