Re: Number of logs

2005-04-21 Thread Sanghamitra Chowdhury
--- Kai <[EMAIL PROTECTED]> wrote: > Hi all, > > I just want to keep the logs from the last 10 days. > Is it possible to > configure this? Currently all logs are kept and none > are removed. But I want > to keep them named by the day, e.g. 'log > 20050421.

RE: Machine name

2005-04-21 Thread Hart, Leo
I don't know if this will work in your case, but it's worth a try: while using an SMTPAppender I used ${COMPUTERNAME} in the subject header to include the current comuter's name. It worked. -Leo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April

Number of logs

2005-04-21 Thread Kai
Hi all, I just want to keep the logs from the last 10 days. Is it possible to configure this? Currently all logs are kept and none are removed. But I want to keep them named by the day, e.g. 'log 20050421.log'. Any ideas? Thanks! -- ++

Filtering on custom parameter

2005-04-21 Thread Burger, Erik
Title: Message Hi,   I have an ADONetAppender set up with a custom parameter 'userID'. I would like to be able to log DEBUG (or greater) messages for a certain user (or number of users) only, and have the other users log only INFO (or greater) messages. INFO is my master log level.   How wou

AW: Machine name

2005-04-21 Thread Helbig, Dirk (EXTERN: HUD)
Hi, your version of log4net is too old. I had the same problem with an older version that does not support the new pattern. Dirk -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 21. April 2005 11:19 An: log4net-user@logging.apache.org Betr

RE: Machine name

2005-04-21 Thread Bill.Martin
This doesn't appear to work unfortunately. In my .config file I have: (for some reason "%property{log4net:HostName}" was giving me WARNroperty{log4net:HostName} in

Re: separate log info from a particular method

2005-04-21 Thread Thibaut Barrère
Hello, I have a question which is kind of related to the same topic. I have a big amount of legacy code with a custom trace system, which fortunately I'm able to redirect to log4net now. This legacy trace system has custom names for loggers, such as "service1","service2" etc, which I cannot dete

Re: SmtpAppender - Cannot Access CDO.Message

2005-04-21 Thread Norman
Thanks guys, sorry it took so long to reply. But, it was McAfee: > VirusScan Console > Access Protection > "Prevent mass mailing worm from sending email" > Configure exclusion list to include process (your application binary) that's responsible for sending out notification emails. That's it, prob

AW: Machine name

2005-04-21 Thread Helbig, Dirk (EXTERN: HUD)
Hi, we use this pattern in our environments: %property{log4net:HostName} I hope I could help you. Dirk -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 21. April 2005 09:44 An: log4net-user@logging.apache.org Betreff: Machine name I ma

Machine name

2005-04-21 Thread Bill.Martin
I may be being dumb here, but I can't see any way of getting hold of the machine name that an event is being logged from. I have multiple machines in a cluster using an ADOAppender to write to a common database, and I want to write a column with the machine name in it. Is there a simple way to get

AW: Severity Threshold

2005-04-21 Thread Helbig, Dirk (EXTERN: HUD)
Title: Nachricht Here is a little example:                                         -Ursprüngliche Nachricht-Von: Shaily Goel [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 21. April 2005 07:13An: log4net-user@logging

Severity Threshold

2005-04-21 Thread Shaily Goel
Currently the way log4net works is :   If I have set the File Appender threshold to "Info" then it will receive all those messages which has severity greater or equal to Info. For e.g It will receive Error and Warning messages also if threshold of Fileappender is set to "Info".   Is there any way