pimped logging a bit