Re: [cas-user] Re: CAS logging analysis

2019-09-03 Thread Trenton D. Adams
Interesting, thanks Ray! I was thinking more along the lines of audit info only, but outputting exceptions in one line might be useful too. I wonder if my IDE would auto-link to the source code lines if it was all jumbled into one line, I'll have to take a look. :D On 9/3/19 12:06 PM, Ray

Re: [cas-user] Re: CAS logging analysis

2019-09-03 Thread Ray Bon
Auditing should be converted to a single line with the property given by Daniel. If you have other multi line log output (I am looking at you exception stack traces), one of our logging experts came up with this (you will have to look up the specifics of %replace but I think in this case it just

[cas-user] Re: CAS logging analysis

2019-08-27 Thread Fabrice Bacchella
The JSON is generated directly by CAS and generated in a single log4j event. So perhaps if you play with the log4j and use a separator that is not a new line, a \0 for example, it might do the trick. I'm using mpsgack to remotely send them and so I have no separator problems. > Le 27 août

[cas-user] Re: CAS logging analysis

2019-08-27 Thread Trenton D. Adams
No, I was thinking along those lines as well, but didn't know it had that feature. I know log4j2 has that feature, but then you'd get a bunch of newlines wrapped as '\n'. I'll look into it, thanks! On 8/27/19 9:23 AM, Fabrice Bacchella wrote: Did you try to set 'cas.audit.slf4j.auditFormat'

Re: [cas-user] Re: CAS logging analysis

2019-08-27 Thread Trenton D. Adams
Interesting, thanks for the note. I will see if we can use that. On 8/26/19 4:54 PM, Matthew Uribe wrote: Trenton, What version of CAS are you on? When we were on 5.2, we had a line in our cas.properties which made the logging all on one line: cas.audit.useSingleLine=true However, since

[cas-user] Re: CAS logging analysis

2019-08-27 Thread Fabrice Bacchella
Did you try to set 'cas.audit.slf4j.auditFormat' to 'JSON' ? The service URL/id is missing indeed. Le lundi 26 août 2019 23:35:30 UTC+2, Trenton D. Adams a écrit : > > Hi Guys, > > When it comes to system administration and diagnostics, it is quite > common to use standard Linux utilities for

Re: [cas-user] Re: CAS logging analysis

2019-08-27 Thread Matthew Uribe
Thank you Dan! [image: Aims Community College Top Work Places 2018 - The Denver Post] Matt Uribe ERP Architect/Administrator Information Technology Aims Community College 970.339.6375 matthew.ur...@aims.edu 5401 W. 20th Street

Re: [cas-user] Re: CAS logging analysis

2019-08-26 Thread Daniel Ellentuck
Hi Trenton, Matthew, In CAS 5.3: cas.audit.slf4j.useSingleLine=true ... Dan Ellentuck Columbia University I.T. On Mon, Aug 26, 2019 at 6:54 PM Matthew Uribe wrote: > Trenton, > > What version of CAS are you on? When we were on 5.2, we had a line in our > cas.properties which made the

[cas-user] Re: CAS logging analysis

2019-08-26 Thread Matthew Uribe
Trenton, What version of CAS are you on? When we were on 5.2, we had a line in our cas.properties which made the logging all on one line: cas.audit.useSingleLine=true However, since having gone to CAS 5.3, that property seems to have gone away. I've yet to dig into log4j2.xml to get the same