Fine tunned the logging setup.