Skip to content

Instantly share code, notes, and snippets.

@kahirul
Last active November 28, 2018 08:02
Show Gist options
  • Save kahirul/9e253fbacd6b6ec48adc430cb56dbfdf to your computer and use it in GitHub Desktop.
Save kahirul/9e253fbacd6b6ec48adc430cb56dbfdf to your computer and use it in GitHub Desktop.
Cuk
{
formats: [
{
format: "$date$ $time$ $level$ ip-$ip$ --- \\[$thread$\\] $logger$ : $timestamp$ $method$ $url$ STATUS:$status$",
halt: true
},
{
format: "$date$ $time$ $level$ ip-$ip$ --- \\[$thread$\\] $logger$ : $trace$",
halt: true
}
],
lineGroupers: [
{
start: "^(\\d{4}-\\d{2}-\\d{2})",
haltWith: "^\\s+\\.{3}\\s+\\d+\\s+more$"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment