Changing local logger for globbal logger, now it can be configured
easily from code