Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@johntbush
Created December 19, 2015 02:30
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 johntbush/7023a9949ae2200e689c to your computer and use it in GitHub Desktop.
Save johntbush/7023a9949ae2200e689c to your computer and use it in GitHub Desktop.
slowquery1
import scalikejdbc._
GlobalSettings.loggingSQLAndTime = LoggingSQLAndTimeSettings(
enabled = true,
singleLineMode = false,
printUnprocessedStackTrace = false,
stackTraceDepth= 15,
logLevel = 'debug,
warningEnabled = false,
warningThresholdMillis = 3000L,
warningLogLevel = 'warn
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment