Skip to content

Instantly share code, notes, and snippets.

@kasundm5566
Last active October 12, 2016 04:17
Show Gist options
  • Save kasundm5566/94a8e749fb53357c4b2ef899e7694d66 to your computer and use it in GitHub Desktop.
Save kasundm5566/94a8e749fb53357c4b2ef899e7694d66 to your computer and use it in GitHub Desktop.
Disable c3p0 logs
public static void main(String[] {
System.setProperty("com.mchange.v2.log.FallbackMLog.DEFAULT_CUTOFF_LEVEL", "WARNING");
System.setProperty("com.mchange.v2.log.MLog", "com.mchange.v2.log.FallbackMLog");
// Rest of the code
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment