Re: line numbers of exceptions no longer show

2005-04-22 Thread Sam Smoot
I'm not sure that it will. I thought debug builds also hook into the ProfilerAPI, but I may be wrong about that. As far as security, it's not anymore of a risk than deploying programs based on scripting languages where the source is always present. And with Reflector it's really easy to decompile

RE: Log4Net Viewer

2005-04-22 Thread admin
Hello! Source code will be available from version 0.0.8 . In current version the events can be filtered based on: Level,Logger,Message. In your case you can enter "CompanyName.Product.Class" in Logger field to see all messages belogns to "CompanyName.Product.Class" or "CompanyName.Product.Class.S

RE: Log4Net Viewer

2005-04-22 Thread Ron Grabowski
Is there source code available for that Taras? One of the many reasons I like Chainsaw is that it displays loggers in a tree view so I can focus in a certain logger: CompanyName.Product.Class instead of seeing all the messages fly by at once. Is there any kind of filtering in your program? -

Re: Log4Net Viewer

2005-04-22 Thread Ron Grabowski
In this thread: http://marc.theaimsgroup.com/?t=11140130966&r=1&w=2 on the log4j mailing list, Scott Deboy posted his Chainsaw: http://logging.apache.org/log4j/docs/chainsaw.html config file that he uses to query a Sql Server database every 3 seconds for new log entries. It doesn't matter

RE: Log4Net Viewer

2005-04-22 Thread admin
You can check out Log4Net Viewer available at http://devintelligence.com//log4netviewer . Right now Log4Net Viewer supports only UDPAppender . Regards Taras -Original Message- From: Howard Weisberg [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 11:01 PM To: Log4NET User Subject:

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

Log4Net Viewer

2005-04-22 Thread Howard Weisberg
What kind of Log4Net viewers are available either thru the project or from other sources? Particularly useful would be a viewer that works with logs kept in SQL Server. We'd like to avoid reinventing the wheel. The information contained in this e-mail and any attached documents may be privileged,

RE: line numbers of exceptions no longer show

2005-04-22 Thread Jeff Hughes
So if you include the pdb file on the server after the release build it will provide line numbers? But would this not constitute a security risk with the pdb file on the production server? JJ -Original Message- From: Marc Lewandowski [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 20

RE: Number of logs

2005-04-22 Thread Nicko Cadell
The RollingFileAppender currently does not support limiting the number of files rolled by date. It is a feature we would like to implement in future. At the moment to cleanup the old rolled files after a certain date you will need to write a separate app or script which you schedule to run every

RE: Filtering on custom parameter

2005-04-22 Thread Nicko Cadell
I think you are on the right track with the filter idea. You will need to write a custom filter to look at the value of your userID parameter. It could look something like this: public class UserParamFilter : log4net.Filter.FilterSkeleton { private long m_userID; public long UserID { ge

RE: separate log info from a particular method

2005-04-22 Thread Nicko Cadell
If you are making a significant number of calls to LogManager.GetLogger then you may see some benefit from performing your own caching. The LogManager.GetLogger call is not particularly optimised, it makes a few method calls through interface pointers and looks up values from 3 different hashta

RE: Machine name

2005-04-22 Thread Nicko Cadell
Bill, Long pattern names like %property require version 1.2.9. Can you retest this using 1.2.9? There are a number of permission restrictions that may prevent log4net from finding the machine name, however that is unlikely to be the case. If you are using 1.2.9 and you want to expose your own m

RE: Severity Threshold

2005-04-22 Thread Nicko Cadell
You need to use a LevelMatchFilter on your appender to restrict the events to a single level. For example: Nicko > -Original Message- > From: Shaily Goel [mailto:[EMAIL PROTECTED] > Sent: 21 April 2005 06:13 > To: log4net-user@logging.apache.org > Subject: Severity T

RE: ASP.NET Already Rolled Logfiles Locked and cannot be moved or deleted

2005-04-22 Thread Nicko Cadell
The RollingFileAppender only holds a lock on the file it is currently writing to, not on the rolled files. If the files were locked it would not be able to move them. The first thing to check is which process is holding the lock on the file. The Process Explorer tool from sysinternals (http://www.s

RE: More things a logger should (or shouldn't?) do. Was RE: Buffer Flushing and Table Maintenance in the ADONetAppender)

2005-04-22 Thread Nicko Cadell
It should be very straight forward to build a proxy that will wrap any interface and log all method calls and return values. While I can certainly see this as a very useful sample of a way of using log4net I am not too sure about it being a built-in component. I have built such things in the past,

RE: line numbers of exceptions no longer show

2005-04-22 Thread Marc Lewandowski
You've got it right. That is my experience as well. -Marc -Original Message- From: Sam Smoot [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 8:44 PM To: Log4NET User Subject: Re: line numbers of exceptions no longer show Don't line numbers only show in debug builds? Without t

Re: Number of logs

2005-04-22 Thread Kai
Sanghamitra, I could not find any text from you :-( Could you please send it again? Thanks! Or does anyone else have any ideas? Thanks in advance! On 21.04.2005 22:07:12 Sanghamitra Chowdhury wrote: >--- Kai <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> I just want to keep the logs from the last

Re: AW: Severity Threshold

2005-04-22 Thread Shaily Goel
Title: Nachricht Thanks a lot for the information. It served my purpose.I am able to log only "Info" messages by FileAppender   Thanks Shaily >>> "Helbig, Dirk (EXTERN: HUD)" <[EMAIL PROTECTED]> 04/21/05 12:56 PM >>> Here is a little example:                          

Re: line numbers of exceptions no longer show

2005-04-22 Thread Sam Smoot
Don't line numbers only show in debug builds? Without the pdb the original source, and line numbers, aren't present so they can't be shown. In a Release build these aren't present. Or do I have it wrong? On 4/21/05, Jeff Hughes <[EMAIL PROTECTED]> wrote: > > > > I am pulling my hair out try

line numbers of exceptions no longer show

2005-04-22 Thread Jeff Hughes
I am pulling my hair out trying to figure out why the line number of the exception are not showing up in production.   In my dev and QA environment it works fine.   Example: QA / DEV   Exception: System.Exception Message: System.Exception: fun with exceptions    at Transcripts.log