Re: Metron REST - Logging Config

2017-07-14 Thread Nick Allen
Actually per step 3, this is what the property should look-like. Note that "file:" has to precede the path. -Dlog4j.configuration=file:/path/to/log4j.properties On Fri, Jul 14, 2017 at 10:02 AM, Nick Allen wrote: > Yes, this is what I did. Pulling this from memory, so I

Re: Metron REST - Logging Config

2017-07-14 Thread Nick Allen
Yes, this is what I did. Pulling this from memory, so I might be slightly off on the exact commands used. 1. I deleted the `log4j.properties` file from the Metron REST jar. I believe I used `zip -d ...`. 2. I created my own log4j properties file. Something like...

Re: Metron REST - Logging Config

2017-07-14 Thread Ryan Merriman
The only way I know of is to change log4j.properites. Did you every figure out a better way? On Tue, Jul 11, 2017 at 2:10 PM, Nick Allen wrote: > How do I configure logging for Metron REST on a deployed host? > > Right now a log4j.properties file gets packaged into the

Metron REST - Logging Config

2017-07-11 Thread Nick Allen
How do I configure logging for Metron REST on a deployed host? Right now a log4j.properties file gets packaged into the metron-rest JAR itself. Is there is an easy way that I am missing?