Re: [Dev] Override default log4.properties in MSF4J

2017-07-10 Thread Thusitha Thilina Dayaratne
Hi Jochen, Can you try using dependencies without using the msf4j-parent? Thanks Thusitha On Mon, Jul 10, 2017 at 4:09 PM, Jochen Traunecker < jochen.traunec...@googlemail.com> wrote: > Hi Thusitha, > > I'm pointing to this as parent > > 4.0.0 > org.wso2.msf4j > msf4j-service > pom

Re: [Dev] Override default log4.properties in MSF4J

2017-07-10 Thread Jochen Traunecker
Hi Thusitha, I'm pointing to this as parent 4.0.0 org.wso2.msf4j msf4j-service pom 2.1.2-SNAPSHOT Thanks, Jochen ... 2017-07-05 18:13 GMT+02:00 Thusitha Thilina Dayaratne : > Hi Jochen, > > When you put your custom log4j.properties file, it should be correctly > picked up. Are y

Re: [Dev] Override default log4.properties in MSF4J

2017-07-05 Thread Thusitha Thilina Dayaratne
Hi Jochen, When you put your custom log4j.properties file, it should be correctly picked up. Are you using the msf4j-core dependency or the msf4j-parent? You can also refer dev mail thread [1] [1] - "[Dev] Too much noise during MSF4J startup (master branch)" Thanks Thusitha On Wed, Jul 5, 2017

Re: [Dev] Override default log4.properties in MSF4J

2017-07-05 Thread Jochen Traunecker
Hi Godwin, thanks for pointing me to the this solution. Cheers Jochen 2017-06-28 20:27 GMT+02:00 Godwin Shrimal : > Hi Jochen, > > You can pass log4j commandline paramater when running the fat jar as > follows to apply the og4j.properties. > > -Dlog4j.configuration=file:"$CARBON_HOME"/conf/log4

Re: [Dev] Override default log4.properties in MSF4J

2017-06-28 Thread Godwin Shrimal
Hi Jochen, You can pass log4j commandline paramater when running the fat jar as follows to apply the og4j.properties. -Dlog4j.configuration=file:"$CARBON_HOME"/conf/log4j.properties Thanks Godwin On Tue, Jun 27, 2017 at 2:17 AM, Jochen Traunecker < jochen.traunec...@googlemail.com> wrote: >

Re: [Dev] Override default log4.properties in MSF4J

2017-06-27 Thread Jochen Traunecker
Hi, thanks for the hints and it works adding a log4j.xml into /resources but log4j.properties seems to get ignored. Maybe I have some typo somewhere. Regards, Jochen 2017-06-27 9:09 GMT+02:00 Gottfried Szing : > Hi Jochen > > Did you try the possibilities that come out-of-the-box with log4j? >

Re: [Dev] Override default log4.properties in MSF4J

2017-06-27 Thread Gottfried Szing
Hi Jochen Did you try the possibilities that come out-of-the-box with log4j? https://logging.apache.org/log4j/2.x/manual/configuration.html#Automatic_Configuration br On 27/06/2017 09:02, Thomas LEGRAND wrote: Hello, Have you tried to put a log4j.xml configuration file in your src/main/resou

Re: [Dev] Override default log4.properties in MSF4J

2017-06-27 Thread Thomas LEGRAND
Hello, Have you tried to put a log4j.xml configuration file in your src/main/resources directory? For example, here is mine to trigger the DEBUG mode: Regards, Thomas 2017-06-26 21:54 GMT+02:00 Jochen Traunecker < jochen.traunec...@googlemail.com>: > Hi, > > I'm wondering if th

[Dev] Override default log4.properties in MSF4J

2017-06-26 Thread Jochen Traunecker
Hi, I'm wondering if there is a way to introduce a custom log4j.properties file instead of default one [1] for MSF4J in combination with fatjar? Thanks, Jochen [1] https://github.com/wso2/msf4j/tree/master/core/src/main/resources ___ Dev mailing list D