switch verbose logging to toggleable