I honestly have no idea why my multiline isn't working and here is a sample of my multiline config
multiline:
pattern: ^INFO \| jvm 1 \| main \| [0-9]{4}\/[0-9]{2}\/[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3} \| [0-9]{2}:[0-9]{2}:[0-9]{2},[0-9]{3}
negate: true
match: after
Here is a sample data of my log
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | 09:00:14,190 [clearCacheJob(node2)::de.foo.platform.servicelayer.internal.jalo.ServicelayerJob] ERROR [Job] Could not start own session due to Session attribute for cronjob 'clearCacheJob(node2)' were null! [user:null, currency:8796093087777->EUR, language:8796093186080->nl
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | de.foo.platform.jalo.ConsistencyCheckException: Session attribute for cronjob 'clearCacheJob(node2)' were null! [user:null, currency:8796093087777->EUR, language:8796093186080->nl[HY-0]
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.cronjob.jalo.Job.startOwnSession(Job.java:1138)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.cronjob.jalo.Job.performImpl(Job.java:762)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.cronjob.jalo.Job.access$1(Job.java:752)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.cronjob.jalo.Job$JobRunable.run(Job.java:657)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.util.threadpool.PoolableThread.run(PoolableThread.java:131)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | Caused by: java.lang.IllegalStateException: Session attribute for cronjob 'clearCacheJob(node2)' were null! [user:null, currency:8796093087777->EUR, language:8796093186080->nl
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.cronjob.jalo.CronJob.createSessionForCronJob(CronJob.java:1941)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.cronjob.jalo.Job.startOwnSession(Job.java:1134)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | ... 4 more
INFO | jvm 1 | main | 2016/03/01 09:00:14.259 |
INFO | jvm 1 | main | 2016/03/01 09:53:55.650 | 09:53:55,601 [hybrisHTTP27] WARN [UrlUtil] Unable to determine top level domain. Hostname is: testp1.piwo.pila.pl
He should make one log event like this:
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | 09:00:14,190 [clearCacheJob(node2)::de.foo.platform.servicelayer.internal.jalo.ServicelayerJob] ERROR [Job] Could not start own session due to Session attribute for cronjob 'clearCacheJob(node2)' were null! [user:null, currency:8796093087777->EUR, language:8796093186080->nl
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | de.foo.platform.jalo.ConsistencyCheckException: Session attribute for cronjob 'clearCacheJob(node2)' were null! [user:null, currency:8796093087777->EUR, language:8796093186080->nl[HY-0]
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.cronjob.jalo.Job.startOwnSession(Job.java:1138)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.cronjob.jalo.Job.performImpl(Job.java:762)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.cronjob.jalo.Job.access$1(Job.java:752)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.cronjob.jalo.Job$JobRunable.run(Job.java:657)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.util.threadpool.PoolableThread.run(PoolableThread.java:131)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | Caused by: java.lang.IllegalStateException: Session attribute for cronjob 'clearCacheJob(node2)' were null! [user:null, currency:8796093087777->EUR, language:8796093186080->nl
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.cronjob.jalo.CronJob.createSessionForCronJob(CronJob.java:1941)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | at de.foo.platform.cronjob.jalo.Job.startOwnSession(Job.java:1134)
INFO | jvm 1 | main | 2016/03/01 09:00:14.258 | ... 4 more
INFO | jvm 1 | main | 2016/03/01 09:00:14.259 |