Are the custom appenders only like plugins?

2013-07-29 Thread Aliaksandr Belavusau
Hi Guys, Trying to embed log4j2 in our OSGi application. So, one small question: How can I create custom appender which will be *not* a plugin? I want to create it like old school log4j1.x appender. For the some reason we can not use osgi.core version = 4.3.0 in our application, only =4.2.0.

Are the custom appenders only like plugins?

2013-07-29 Thread Aliaksandr Belavusau
Hi Guys, Trying embed log4j2 in our OSGi application. So, one small question: How can I create custom appender which will be not a plugin? I want to create it like old school log4j1.x appender. The cause: We cannot use osgi.core version = 4.3.0 in our application, only =4.2.0. (As you know

RE: Are the custom appenders only like plugins?

2013-07-30 Thread Aliaksandr Belavusau
a plugin. Remko From: Aliaksandr Belavusau abelavu...@gmail.com To: log4j-user@logging.apache.org Sent: Tuesday, July 30, 2013 5:27 AM Subject: Are the custom appenders only like plugins? Hi Guys, Trying embed log4j2 in our OSGi application. So, one small

RE: Are the custom appenders only like plugins?

2013-07-30 Thread Aliaksandr Belavusau
Sorry, Do you mean binary file of my custom appender? -Original Message- From: Remko Popma [mailto:rem...@yahoo.com] Sent: Tuesday, July 30, 2013 2:09 PM To: Log4J-Users List Subject: Re: Are the custom appenders only like plugins? I see... Did you try pre-building the binary file with

RE: Apache Log4j Core (2.0.0.beta8) seems to conflicts with org.slf4j.slf4j-api in a OSGi-environment

2013-08-12 Thread Aliaksandr Belavusau
Hi Roland, You can declare log4j-slf4j-impl bundle as a fragment of slf4j-api bundle. -Original Message- From: Roland [mailto:w...@ids.de] Sent: Monday, August 12, 2013 4:28 PM To: log4j-user@logging.apache.org Subject: Re: Apache Log4j Core (2.0.0.beta8) seems to conflicts with

Is it possible to declare filePattern attribute value without date?

2013-08-12 Thread Aliaksandr Belavusau
Hi guys, Is it possible to declare filePattern attribute without date pattern? FastRollingFile name=LOGFILE fileName=logs/app.log filePattern=logs/app.log.%d{-MM-dd}.%i ThresholdFilter level=DEBUG onMatch=ACCEPT onMismatch=DENY/ PatternLayout

RE: Is it possible to declare filePattern attribute value without date?

2013-08-12 Thread Aliaksandr Belavusau
, Aliaksandr Belavusau wrote: Hi guys, Is it possible to declare filePattern attribute without date pattern? FastRollingFile name=LOGFILE fileName=logs/app.log filePattern=logs/app.log.%d{-MM-dd}.%i ThresholdFilter level=DEBUG onMatch=ACCEPT onMismatch=DENY

RE: org.apache.commons.log4j-api or org.apache.logging.log4j-api?

2013-08-14 Thread Aliaksandr Belavusau
It's definitely mistake. Just replace 'commons' with 'logging' in the MANIFEST.MF. Alex. -Original Message- From: Roland [mailto:w...@ids.de] Sent: Wednesday, August 14, 2013 3:12 PM To: log4j-user@logging.apache.org Subject: org.apache.commons.log4j-api or org.apache.logging.log4j-api?