Change to config

On PunishLogger get error at getConfig()