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:

<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration debug="false"
xmlns:log4j='http://jakarta.apache.org/log4j/'>

<appender name="console" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} %-5p
%c{1}:%L - %m%n" />
</layout>
</appender>

<root>
<level value="DEBUG" />
<appender-ref ref="console" />
</root>

</log4j:configuration>

Regards,

Thomas

2017-06-26 21:54 GMT+02:00 Jochen Traunecker <
jochen.traunec...@googlemail.com>:

> 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
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to