diff --git a/uls.conf b/uls.conf index 0c9c4df7b288c895b1858a5c03df1c0caea6f8f7..c766e9632d190eb8eec8287d5e77276e1b56a639 100644 --- a/uls.conf +++ b/uls.conf @@ -1,23 +1,16 @@ -inputfile = test.log -outputfile = ./out.uls +inputfile = /var/log/ckan/bulk.log +inputfile = /var/log/ckan/std/gather_consumer.log +inputfile = /var/log/ckan/std/fetch_consumer.log + +#outputfile = ./logs/out.uls -# %F = YYYY-MM-DD -# %T = hh:mm:ss -# %W = der ganze Rest -#inputformat = {"asctime": "%F %T,%c%c%c", "levelname": "ERROR", "name": "%q", "message": "%W iformat0 = %F %T,%c%c%c ERROR [%q] got exception ...%W -#nreadformat0 =... (7568:worker 2) : %W nreadformat0 =... : %W -# Alle Zeilen, die ERR enthalten +# 'got exception...' ist die erste Zeile eines Tracebacks reg0 = got exception ... +# alle forgenden Zeilen haben diesen Präfix nreadreg0 =^... : -#consolidate0 = 0/1s: 2 -# Gebe die ganze Zeile auf stdout aus -#eaction = echo %F %T %q -#action0 = echo %F %T [%q,%p] %W -#nreadaction0 = echo %W -##write0 = V;%F %T;source;"section";"teststep";"detail";"Text"; [%q,%p] %W -write0 = V;%F %T;ckan274;"ULS";"Test";"detail";"Text";" +write0 = V;%F %T;%h;"odsh";"Exception";"traceback";" nreadwrite0 = %W \ No newline at end of file