change logger initialization. static fields are not available in enum constructors