Re: Logging works in VS but not when deployed

2015-04-07 Thread Pascal ROZE
Does the file exist here: C:\Program Files (x86)\CE\MyProgram\app.config On 7 April 2015 at 20:56, DeveloperM wrote: > Ok, why is it found when run in the IDE (VS 2010) but not when deployed? > And > what needs to be done to correct this? > > > > -- > View this message in context: > http://

Re: Logging works in VS but not when deployed

2015-04-07 Thread Pascal ROZE
log4net: config file [C:\Program Files (x86)\CE\MyProgram\app.config] not found The config file was NOT found On 7 April 2015 at 20:47, DeveloperM wrote: > Thanks for the suggestion, Pascal. I did that and this is what was written > to > the Console: > > log4net: log4net assembly [log4net, Vers

Re: Logging works in VS but not when deployed

2015-04-07 Thread Pascal ROZE
Hello Enable the log4net internal debug to get more info. Cheers On 7 April 2015 at 19:21, DeveloperM wrote: > Thanks for responding. The log4net reference *Copy Local* property is > marked > True. > > > > -- > View this message in context: > http://apache-logging.6191.n7.nabble.com/Logging-wo

Re: Log files overwritten

2012-06-04 Thread Pascal ROZE
Yes it does Cheers Pascal On 3 June 2012 07:55, Lee Chun Kit wrote: > If you change your configuration > from > > to > > does the overwriting still happen? > > Regards, > Chun Kit > > > On Sat, Jun 2, 2012 at 12:19 AM, Pascal ROZE > wrote: > >

Re: Tcp Appender

2011-12-22 Thread Pascal ROZE
Hello And the RemotingAppender ? On 22 December 2011 11:23, Michele Lepri wrote: > Hello all, > this is my first time here ^^ > > I can't find any Tcp Appender on the net, and so I'm going to write one > because I want to use it for monitoring purpose in development environment. > If the work w

Re: Why does this configuration file give me rotation by date instead of by file size?

2011-11-28 Thread Pascal ROZE
Hi Try adding this node: On 28 November 2011 14:56, Rob Richardson wrote: > Greetings! > > ** ** > > I originally wrote an application to use rotating files that rotated by > date, but log4net has a long-standing unfixed bug that prevents cleaning up > old dated log files, and our cust

Re: Survey about the direction of log4Net - Update

2011-11-18 Thread Pascal ROZE
Maybe because of my office network. I'll try at home On 18 November 2011 16:13, Stefan Bodewig wrote: > On 2011-11-18, Pascal ROZE wrote: > > > I get the error on > > http://www.sohotech.biz/Lists/log4Net%20Survey/overview.aspx. > > No credentials are asked >

Re: Survey about the direction of log4Net - Update

2011-11-18 Thread Pascal ROZE
I get the error on http://www.sohotech.biz/Lists/log4Net%20Survey/overview.aspx. No credentials are asked On 18 November 2011 15:12, Stefan Bodewig wrote: > On 2011-11-18, Pascal ROZE wrote: > > > The survey doesn't work: "401 UNAUTHORIZED" > > Have you tried

Re: Survey about the direction of log4Net - Update

2011-11-18 Thread Pascal ROZE
The survey doesn't work: "401 UNAUTHORIZED" On 18 November 2011 14:20, Roy Chastain wrote: > This email is cross-posted to both the Dev and User lists because of the > small chance that someone on the Dev list is not subscribed to the User > list. > > ** ** > > I would like to share some of

Re: disable log4net

2010-02-10 Thread Pascal ROZE
Hi, ... Pascal On 11 February 2010 04:01, rkonda wrote: > > I am using a library that uses log4net for logging purposes. It seems to be > overriding Trace logging. My code that used to work before, logs data to > Trace. Those messages don't show up now that I am using this library. I >

Re: Customized mail subject fo SmtpAppender

2009-12-08 Thread Pascal ROZE
Hi Look at this: http://www.codeproject.com/KB/cs/log4net_SmtpAppender.aspx Cheers 2009/12/7 Petite Escalope > Hello, > I am using log4net for a web project and would like to make customized mail > subjects my email appender. I already tried something like : > > * * > > * public stati

Re: Rollingfileappender doesn't roll over

2009-07-30 Thread Pascal ROZE
Hi There is no datePattern in your appender definition. Maybe this is the problem. Pascal 2009/7/30 Radovan Raszka > Hello to all, > I have interesting problem with RollingFileAppender in ASP.Net webservice. > When webservice run on IIS on Windows XP, all works well, log file is rolled > over

Re: ADO.Net appender configuration for sybase?

2009-01-29 Thread Pascal ROZE
Here a config file for Sybase that works for us: You can see that we have to specify the Interfaces File path

Re: CustomAppender and property

2008-12-16 Thread Pascal ROZE
Do you know in what class/function this job is done in log4net sources? 2008/12/16 Ron Grabowski > Log4net uses reflection to look see if the xml node name matches a public > property on your object. > > -- > *From:* Pascal ROZE >

CustomAppender and property

2008-12-16 Thread Pascal ROZE
Hi all I'm developping my own appender. Looking at some examples in the Net, I've found how to create property, I just have to use the same name in appender file and config file. - In the config file: - In the appender file: private string m_myproperty public string MyProperty { get { ret

Re: RollingFileAppender datePattern

2008-10-06 Thread Pascal ROZE
Hi I have managed to do that with a custom appender Pascal 2008/10/6 Bill McCormick <[EMAIL PROTECTED]> > I have a RollingFileAppender defined as: > > > > > > > > > > > > > > > > Is there a trick to getting the backup files to be na

Re: Database logging problems

2008-09-02 Thread Pascal ROZE
Hi Try with in your appender definition. Pascal 2008/9/2 Marc McGinley <[EMAIL PROTECTED]> > Hi, > > > > I've been playing with log4net and writing to file seems to work okay =20 > but when I try logging to a database nothing happens... > > > > To explain a little more... I'm running a trace

Use Pattern name in message

2008-08-28 Thread Pascal ROZE
Hi all At this time, I have a logger with the following configuration: It works fine. Now, I would like to use Pattern names in message variable. For example, I'm trying to do: string msg = "The time is %date and the logger is %logger"; myLogger.Info(msg); And of course, it does