473,394 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

log4net mysteriously stops logging


I have sent a message to the apache listserver, but thought I would ask
here, too, just in case anyone has seen this problem.

I am using log4net to do logging in my .Net 2.0 application. I am using the
most current version.

It's been working great (AFAIK), but today a couple of the QA people noticed
that at some point while running our application, it stops logging. You have
to close the app and restart it and the logging will restart.

They tried deleting all the log files (we create 1MB files, and keep 5 of
them) and it still happens. I haven't managed to recreate the problem, but
one of the other developers has, and he stepped through the calls to the
logging, and it appears to work fine, but doesn't log the information.

This does not happen to all users, and while it is completely reproducible
by the (2) QA folks, it doesn't happen to me, and is intermittent with my
coworker.

There's only one other case where I've seen this -- I was trying to put
logging in a click event in a user control, and MessageBox statements would
work, but the logging wouldn't. I decided it was a quirk and removed the
logging. Now I'm wondering.

Has anybody else ever experienced this problem, or do you have any ideas how
I could debug it?

I'd appreciate any advice or suggestions you may have.

Thanks,
RobinS.
GoldMail.com

Mar 19 '08 #1
0 822

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: SK | last post by:
Hi, I am using log4net in my c# application.Want to know how to customize the log output format. I know that it can be done using LayoutSkeleton class,but dont know what other parameters to be...
3
by: cwineman | last post by:
Hello, I posted this question in microsoft.public.dotnet.framework and didn't get any responses. Maybe somebody here has some input. If anyone knows of a better place to ask these questions, let...
1
by: Bob | last post by:
The raging question that is going on currently is about log4net vs. EIF. I feel that EIF is complex and incomplete at this point. By incomplete, I mean MS is still fiddling with it. log4net is...
4
by: Gawel | last post by:
hajo, can someone send me an example how to use above pattern in asp.net applicaiton? I can not figure out how to do it. I get no exceptions, simply no logging occures. Thanks for any info ...
6
by: Mr Flibble | last post by:
Hi all, I've decided to use log4net for my logging/tracing. In the example on the site it shows using main() to setup the root logger and then using the LogManager within your classes to...
2
by: Marc Scheuner | last post by:
Folks, I'd really like to use log4net for our error logging, but I'm having two problems: 1) For certain cases, I'd like to log error and messages to text files. I tried both the regular...
1
by: chidam.chidam | last post by:
Hi all, I would like to implement log4net for logging my application. First let me describe in short about the application. I have a solution with two exe file outputs and several dll assemblies....
2
by: Daniel Bass | last post by:
Hey guys, Just an opinions thing more than anything. I've just been messing around with Log4Net and discovered the Logging Application Block in the Enterprise Library (3.1). Have you used...
1
by: john Devlon | last post by:
Hi, Does anyone have some experience on log4Net, using vb.net code in visual studio 2005? I've installed the download and added a reference in my solution. I also added "imports log4net". ...
0
by: RobinS | last post by:
I have sent a message to the apache listserver, but thought I would ask here, too, just in case anyone has seen this problem. I am using log4net to do logging in my .Net 2.0 application. I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.