logging mode changed