Skip to main content
2 of 2
added 96 characters in body
Brad Bell
  • 67.6k
  • 6
  • 75
  • 145

Just remove these two logging routes from your plugin's init() method in your PluginHandlePlugin.php file:

craft()->log->removeRoute('WebLogRoute');
craft()->log->removeRoute('ProfileLogRoute');

That will prevent the extra logging and profiling information to be output in the browser's console when devMode is enabled.

Brad Bell
  • 67.6k
  • 6
  • 75
  • 145