modify logger and mediamanager