fixed logger working from entry point