RE: Signing the log4net.dll with a digital signature

2009-10-14 Thread Dag Christensen
You're probably mixing signing the dll for GAC (strong name), and Authenticode as offered by Verisign and others which Michael asks for. Log4net is distributed as a strong name assembly signed by a key held by Apache. If you recompile log4net from source and want it strong named, you'll have to

SV: unsubscribe

2009-06-22 Thread Dag Christensen
The instructions on log4net's project page didn't work? http://logging.apache.org/log4net/mail-lists.html -Opprinnelig melding- Fra: Monica Vezzalini [mailto:mvezzal...@eim.it] Sendt: 22. juni 2009 09:19 Til: 'Log4NET User' Emne: R: unsubscribe Hello I have been trying to unsuscribe as

RE: SQL 2005 Database Mirroring Support

2008-11-11 Thread Dag Christensen

RE: Problems with Network Drive

2008-11-10 Thread Dag Christensen
I don't think I understand what the problem is? You're saying writing to UNC is fine, while log4net complains about T: being unavailable? As Steve says, this indicates that T: isn't mapped for the logged on user (did the login script run successfully?) Re your code below: If T: and the UNC path

RE: Printing a log message of level 'ALL'

2008-11-09 Thread Dag Christensen
Value, Level.Verbose.Value= 1, Level.Debug.Value= 3 etc. Level.Off (int.MaxValue) disables all logging. Hope this helps, Dag ____ Dag Christensen Senior Developer, Visma Retail AS Switchboard : +47 33 34 94 00 From: Vi

RE: SQL 2005 Database Mirroring Support

2008-11-06 Thread Dag Christensen
Should be handled transparently if you're using SqlClient or native client and a correct connection string. I think log4net uses OLE DB by default, you might want to try changing this to SqlClient. If it still doesn't work, try setting your appender's ReconnectOnError to true. It would also

RE: AdoNetAppender Connection String

2008-10-16 Thread Dag Christensen
Shouldn't be a TextWriterAppender there. Can you post your configuration file? Not answering your question but as a workaround you could loop through the list of appenders returned and find the first (or named) instance of AdoNetAppender you're looking for. Regards, Dag From: Gourlay, Colin

RE: Problem getting Log4net to work

2008-05-13 Thread Dag Christensen
t it doesn't make a difference: ... ... ... (This is the config file in the executable directory). Regards, Neil -----Original Message- From: Dag Christensen [mailto:[EMAIL

RE: Problem getting Log4net to work

2008-05-13 Thread Dag Christensen
The top level node should be log4net when you're using a stand-alone configuration file, not configuration. Configuration is afaik only used in app.config files. Regards, Dag -Original Message- From: Neil Haughton [mailto:[EMAIL PROTECTED] *snip* The bare bones of the log4net.config f

RE: log4net.Layout.XmlLayout : bad format

2008-04-17 Thread Dag Christensen
6.mbo x/browser Best wishes, Dag Christensen ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/

RE: log4net.Layout.XmlLayout : bad format

2008-04-16 Thread Dag Christensen
d end elements according to the same page. Best wishes, Dag Christensen ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/

RE: Problems with log4net Rolling File Appender

2008-04-16 Thread Dag Christensen
>Is there a workaround for that? I mean this can't be intended behaviour >:) But as I interpret your answer, this has most likely something to do with >the Mono Framework, not with log4net, right? > >Mit freundlichen Grüßen / Regards >Johannes Frank Not sure if this behavior is intended or not,

SV: logging (or not) specific classes, through the config

2006-09-12 Thread Dag Christensen
Try this: Place it on the same level as your category. Regards, Dag Christensen ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/

SV: NDC and MDC fields logged as (null)

2006-06-11 Thread Dag Christensen
It's a while since they changed null values from empty strings to (null). Ron suggested this value should be configurable, but I'm not sure if his patch (http://issues.apache.org/jira/browse/LOG4NET-55) is implemented yet (marked as fixed but not affecting any versions)? See the threads "constant

Enabling an appender at run time

2006-05-18 Thread Dag Christensen
description was clear enough :-p Any suggestions how to proceed to solve this ? Thanks, Dag Christensen Vestfold Butikkdata AS ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/

RE: Log4Net only for the committed techies

2005-03-18 Thread Dag Christensen
Use this code for custom log levels: log.Logger.Log(log.Logger.Name, Level.CRITICAL, "oops!", null); Check the help file for predefined levels, or you can make your own custom levels: Level Catastrophic = new Level(13, "CATASTROPHIC"); log.Logger.Log(log.Logger.Name,

RE: problems.

2005-03-08 Thread Dag Christensen
To enable log4net's internal logging for troubleshooting, see the FAQ: http://logging.apache.org/log4net/release/manual/faq.html#internalDebug You can find configuration examples for the appenders you mention here: http://logging.apache.org/log4net/release/config-examples.html Regards, Dag -

RE: using multiple appender question

2005-03-08 Thread Dag Christensen
Please see the documentation http://logging.apache.org/log4net/release/manual/introduction.html#HC-71 89308 Short answer is yes, it will send the log message to all listening appenders. Regards, Dag From: Rutledge, J. Mike [mailto:[EMAIL PROTECTED] Sent:

RE: still looking for info on how to specify a location/filename

2005-03-07 Thread Dag Christensen
Hi, "log-file.txt" is used in one of the examples included with beta 8, check that you don't have an old configuration file that causes problems for you. Dag -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: 7. mars 2005 16:22 To: Log4NET User Subject: Re: still lo

RE: Computer name in parameter name of FileAppender

2005-02-17 Thread Dag Christensen
Title: Computer name in parameter name of FileAppender You should use curly brackets { }, not parenthesis ( )   Regards,   Dag   From: Nemegeer Marc [mailto:[EMAIL PROTECTED] Sent: 17. februar 2005 17:16To: log4net-user@logging.apache.orgSubject: Computer name in parameter name of FileAppe

RE: Stability of log4net

2005-02-17 Thread Dag Christensen
We have been using log4net in production since Summer 2002, and have experienced no problems (even on SMP servers). We're using 1.2.0 beta 8 now. Appenders we use are RollingFileAppender and ConsoleAppender (with PatternLayout). Regards, Dag Christensen Vestfold Butikkdata AS -Ori

RE: Old question ?

2005-01-18 Thread Dag Christensen
Just a guess: If you're using SQL Server and you're sorting on the log entry timestamp, there's a restriction in SQL Server's datetime type which only has accuracy of one three-hundredth of a second, see the first paragraph here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ts

RE: list of conversionPatterns

2004-12-01 Thread Dag Christensen
There's one in the help file, see the log4net.Layout -> PatternLayout topic (v1.2.0 beta 8) Regards, Dag -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 1. desember 2004 08:13 To: [EMAIL PROTECTED] Cc: Log4NET User Subject: Re: list of conversionPatterns Hi M

RE: Easy Question

2004-11-17 Thread Dag Christensen
For performance, see the FAQ: http://logging.apache.org/log4net/release/manual/faq.html#HC-14456678 Dag From: Dru Sellers [mailto:[EMAIL PROTECTED] Sent: 17. november 2004 02:56 To: 'Log4NET User' Subject: Easy Question Why would you write If log.IsInfoEna

RE: FileAppender path

2004-10-11 Thread Dag Christensen
You can get the application data path from the environment: Dag From: Graham Allwood [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 11:56 AM To: log4net-user@logging.apache.org Subject: FileAppender path Hi, Using the FileAppender (or

RE: Does log4net start its own thread ?

2004-10-06 Thread Dag Christensen
Are you monitoring System.Threading.Thread threads or System.Diagnostics.ProcessThread threads? The only use of threading I can find in log4net is ThreadPool usage in RemotingAppender? Are you sure it's not an internal .NET thread you're watching? Running this code on my computer ProcessThread

RE: Log files thread release

2004-10-01 Thread Dag Christensen
Do you use RollingFileAppender for your logging? I'm using this setup which does not lock any of the "rolled" backup files. Dag From: Pinto, Antonio Joaquim [mai

RE: Adding custom level

2004-07-08 Thread Dag Christensen
I use appx this code to enable verbose logging (more detailed than debug). I haven't managed to, or tried very hard to, enable "verbose" logging using my log4net configuration file - any tips here is greatly appreciated. Verbose logging is only used by our developers while debugging code so the cur

RE: about logging

2004-07-06 Thread Dag Christensen
Hi, Have you read the FAQ at http://logging.apache.org/log4net/? There's a section there covering your question I believe. A sample application is also provided with the log4net distribution. Regards, Dag -Original Message- From: Rajkumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, July

RE: Unable to tail log while writing it

2004-07-02 Thread Dag Christensen
Hi, Try specifying FileShare.ReadWrite instead of FileShare.Read and see if that helps. I believe specifying just Read will only allow subsequent reads from the file, not writes. Since the file is already opened for writing (by log4net) your call fails. Regards, Dag -Original Message-

RE: RollingLogFileAppender stopped rolling

2004-06-22 Thread Dag Christensen
Add this line to your rollingfileappender configuration: This will append the date string to the filename, which I believe is what you want to do ? It appears "true" is the default value, I'm not sure if this has changed from older versions? Dag Fro

RE: log4net deleting config file at startup

2004-06-14 Thread Dag Christensen
Check if you have a file called app.config in your project. When you build the project, Visual Studio will copy app.config to the build folder as application.exe.config, thus overwriting your file. This occurs when you build the project, so running the exe directly won't cause the file to be overw

RE: Log4net in production environments (was: Independent FileAppenders)

2004-06-02 Thread Dag Christensen
re. Do you plan on releasing the source of that to the community? Thanks, Chad -Original Message- From: Dag Christensen [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 3:05 AM To: Log4NET User Subject: Log4net in production environments (was: Independent FileAppenders) Regarding 1.

Log4net in production environments (was: Independent FileAppenders)

2004-06-01 Thread Dag Christensen
Regarding 1.2.0 still being in beta: We've been using 1.2.0 beta 8 on two servers since it was released almost a year ago, and it's been running in production on appx 500 computers since September. By the end of this year it should be running on ~10.000 computers and 500 servers in a point of sale

RE: Independent FileAppenders

2004-05-28 Thread Dag Christensen

RE: Independent FileAppenders

2004-05-28 Thread Dag Christensen
Did you use an absolute or relative path? I used "Log\\log.txt" in my web.config file. If you use an absolute path I'd guess ASP.NET requires list(/read) rights to all folders in the path used? - Dag -Original Message- From: Ronnie Hayden [mailto:[EMAIL PROTECTED] Sent: Friday, May 28,

RE: Independent FileAppenders

2004-05-28 Thread Dag Christensen
Have you tried logging to a subdirectory in your web solution? Create a folder /log and give it write permissions in internet service manager. This might not be secure enough for your needs but should get you started. - Dag -Original Message- From: Ronnie Hayden [mailto:[EMAIL PROTECTED]

RE: Dynamic reconfiguring

2004-05-14 Thread Dag Christensen
I don't see why you have to shutdown and restart log4net if you're using ConfigureAndWatch? log4net will detect changes to this file automatically and reconfigure itself. If this is not what you want, you should use Configure instead. Dag -Original Message- From: Chad Myers [mailto:[EMA