Logging with more handler bugfix