Skip to content

Instantly share code, notes, and snippets.

@oshanz
Last active January 4, 2016 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oshanz/8612636 to your computer and use it in GitHub Desktop.
Save oshanz/8612636 to your computer and use it in GitHub Desktop.
3cpo log off
turning off the default log (optional)
Properties p = new Properties(System.getProperties());
p.put("com.mchange.v2.log.MLog", "com.mchange.v2.log.FallbackMLog");
p.put("com.mchange.v2.log.FallbackMLog.DEFAULT_CUTOFF_LEVEL", "OFF");
System.setProperties(p);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment