Change the logging structure