On Sep 19, 2011, at 1:44 AM, Joern Huxhorn wrote:
>
> On 19.09.2011, at 09:36, Ralph Goers wrote:
>
>>
>> On Sep 18, 2011, at 4:56 PM, Joern Huxhorn wrote:
>>
>>>
>>> On 19.09.2011, at 01:29, Ralph Goers wrote:
>>>
On Sep 18, 2011, at 3:01 PM, Joern Huxhorn wrote:
> Sor
Thank you. But I must use log4j 1.2 now. is log4j 2.0 backward
compatible?
Btw, I added another feature in my extension which can delete old files
when triggered in middle night.
On Wed, Sep 28, 2011 at 9:40 PM, Ralph Goers wrote:
> Thanks, I will definitely take a look at it. However, you
Don't manually add an appender in application code. That what the config file
is for. Besides, every time your static getLogger(Class) method is called,
you will add one more appender and will get an additional duplicate message
for every new appender you add.
Jake
On Wed, 28 Sep 2011 14:
I am trying to modify the runtime behavior on the log4j.
Here is my implementation:
public static Logger getLogger(Class c) {
Logger logger = Logger.getLogger(c);
String pattern = "%d{dd-MMM- HH:mm:ss,SSS} %p
%c{3} (%M:%L)- %m%n";
Thanks, I will definitely take a look at it. However, you might take a look at
https://svn.apache.org/repos/asf/logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/
which contains work towards (hopefully) Log4j 2.0. The RollingFileAppender
supports both time and size based triggering. Althoug
Hi all,
I need split log files by file size like RollingFileAppender but I also
want separate logs by date like DailyRollingFileAppender. I searched the web
and can't find any good solution, so I write on myself. But I am not
familiar with log4j. So I wish there are some kind persons that will
To whom it may engage...
This is an automated request, but not an unsolicited one. For
more information please visit http://gump.apache.org/nagged.html,
and/or contact the folk at gene...@gump.apache.org.
Project logging-log4j-receivers has an issue affecting its community
integration.