Changed class used in logger to local one