RE: Unsubcribe

2007-07-05 Thread Alex Cheng
Alex Cheng Eagle Information Mapping, Inc. 14825 St. Mary's Ln., Suite 200 Houston, TX 77079 Voice: (281) 920-1500 x 227 Fax: (281) 920-1600 e-mail: [EMAIL PROTECTED] web: www.eaglemap.com -Original Message- From: Rawat, Rajani [mailto:[EMAIL PROTECTED] Sent: Thursday, Ju

Re: AdoNetAppender problem.

2007-01-11 Thread Cheng
does any one experience of loss log entries when using AdoNetAppender? I have both RollingFileAppender and AdoNetAppender in one of my application. From time to time, there were some of log entries missing in the database but they were in the log file. The bufferSize is set to 1. On 1/8/07, bo

Re: Introducing NetLogClient 2.0 (Ripsaw)

2006-07-12 Thread Cheng
ability to load log from xml files. it will be very helpful to analyze existing xml log files.   Cheng   On 7/11/06, Chris Arrowood <[EMAIL PROTECTED]> wrote: Heh heh.  Good catch.I opened, fixed, and closed this issue in SVN; The next beta will reflect it.Bug [ 1520888 ] string comparison

Re: Introducing NetLogClient 2.0 (Ripsaw)

2006-07-11 Thread Cheng
not sure if anyone already pointed out, here is a bug which cause the HostName never show up in the list:   in windowEventList .cs, check the following two line:   private const string PROPERTY_HOST_NAME_IDENTIFIER = "HostName";   data.name.ToLower() == PROPERTY_HOST_NAME_IDENTIFIER  the second lin

Re: RollingFileAppender file name

2006-06-21 Thread Cheng
This works. Thanks! On 6/21/06, Georg Jansen <[EMAIL PROTECTED]> wrote: Cheng, You can use: Best regards Georg http://www.l4ndash.com - Log4net Dashboard -Original Message- From: Cheng [mailto:[EMAIL PROTECTED] Sent: 21. juni 2006 22:45 To: Log4NET User S

RollingFileAppender file name

2006-06-21 Thread Cheng
Is it possible to use "Conversion Pattern" in the file name of the RollingFileAppender? For example, I want the logfile name like: hostname.appname.log. So if the same application runs at different machine, it will have different logfile. How can I setup this in config file? I tried following:

RollingFileAppender file name

2006-06-21 Thread Cheng
Is it possible to use "Conversion Pattern" in the file name of the RollingFileAppender? For example, I want the logfile name like: hostname.appname.log. So if the same application runs at different machine, it will have different logfile. How can I setup this in config file? I tried following:

Re: Prevent logging messages that contain a string

2006-06-21 Thread Cheng
try this: On 6/21/06, Craig Boland <[EMAIL PROTECTED]> wrote: I see that the StringMatchFilter logs messages that match StringToMatch or RegexToMatch properties, but is there a way to NOT log messages that match? Something like a DenyStringMatchFilter, perhaps? The rule would be somethi

how to get host name?

2006-05-09 Thread Cheng
I am using AdoNetAppender. I want to log the name of the machine that is running the application. I tried following but doesn't work: %p is interpreted as level, so what was logged into the database was: DEBUGroperty{log4net:HostName} so my question is what conversionPattern should I

custom level

2006-02-23 Thread Cheng
Is there any easy way to add a new level between ERROR and OFF? Thanks

using log4net in CodeSmith

2005-07-15 Thread Cheng
anyone has tried to using log4net in CodeSmith? I can't make it work. It will be great if we can using log4net when developing a template in CodeSmith. thanks.

how to add a custom level?

2005-04-22 Thread Cheng
How to add a custom level between FATAL and OFF? What I want to do is to create a custom level (to log some statistics information) that will output in all config except OFF. I could use FATAL but this is just misleading since they are not FATAL errors. Thanks

Re: lockingModel problem

2005-04-06 Thread Cheng
If multiple application log into the same logfile. Will that impact the performance? I assume multiple app will have to wait the lock to get access the logfile. Thanks. On Apr 6, 2005 2:51 AM, Nicko Cadell <[EMAIL PROTECTED]> wrote: > See the third FileAppender example at: > http://logging.apache

Re: StringMatchFilter

2005-03-30 Thread Cheng
log info separation. thanks On Tue, 29 Mar 2005 11:02:51 -0600, Eric Means <[EMAIL PROTECTED]> wrote: > Use a regex that matches everything *except* the string you want filtered out. > > > On Tue, 29 Mar 2005 10:25:38 -0600, Cheng <[EMAIL PROTECTED]> wrote: > >

StringMatchFilter

2005-03-29 Thread Cheng
is there an opposite filter of StringMatchFilter? The problem I want to solve is to filter all logging info that contain a special string to a logfile A, and all other logging info to a separate logfile B. I don't want to all info in A repeated in B. thanks.

Re: wired log4net problem: it refused to log anything.

2005-03-22 Thread Cheng
you are running under ASP.NET you will need to use the sysinternals > dbgview app to see the output. > > Nicko > > > -----Original Message- > > From: Cheng [mailto:[EMAIL PROTECTED] > > Sent: 18 March 2005 17:15 > > To: log4net-user@logging.apache.org >

wired log4net problem: it refused to log anything.

2005-03-18 Thread Cheng
I've been using log4net for a while and it works for all the project. But I met a problem today that log4net refuses to log anything in an asp.net application. here is the config:

separate log info from a particular method

2005-02-28 Thread Cheng
Hi, I am using RollingFileAppender for my whole application. Suppose the main logfile is A.txt. I want to log all information from a particular method to a separate file say B.txt (these log should not be logged to A.txt). StringMatchFilter filter should be work, however the particular method has

Calling Stored Procedure in CommandText in config file

2004-12-29 Thread Patrick Cheng
Hi, As the subject stated, How can i call a stored proc in the CommandText in a config file? I have been searching for it, but i'm unable to find a concrete example on it. The docs simply said we can write insert statements, or stored proc there. But i failed to execute my stored proc. (which wor

Question on Logging customized information

2004-12-28 Thread Patrick Cheng
Hi, I would like to log some data via ADONETAppender into my own log table. Say, my table LOG has column A(varchar(100)) and B (varchar(100)). I do not want to log the default information such as %logger %thread %logdate etc... instead i want to log my own A and B values into the database.

Re: Watching logs

2004-09-27 Thread Cheng
I have problem to make UDPReceiver work in Chainsaw too. NetLogClient seems to be able to receive UDPAppender, but it display all un-readable charactors in the message column... also it will be great if it has the ability to break-down the message by Level and namespace. the project on sourceforg

Can"t write to a network drive

2004-08-04 Thread Cheng
I am using the log4net"s FileAppender. It is perfectly fine when the logfile is set to a directory in the local hard drive. However if the logfile is in a mapped network drive, log4net refuses to log anything and there is not any error message either. Is there any way to solve it? Here is th

using log4net in an addin application for vs2003

2004-08-04 Thread hf cheng
I am trying to use log4net in an addin application for vs2003. Where should I put the configurations for log4net? Thanks.