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 0 1040 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 given in the log4net config file.
Please help
|
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 me know.
My group is considering using the log4net framework for logging. I'm hoping
someone here can give me some feedback on some questions.
Our application will need to log messages from both managed and unmanaged
|
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 based on log4j which has been around longer
and is less complex.
Other than WMI, log4net accomplishes the same tasks.
The question is, can you do WMI in log4net? If so, how?
|
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
Gawel
|
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 create more
loggers (subloggers). This is nice since I can use just one
configuration file to control the behaviour of all the loggers within my
app. This is great if I'm using a project that contains all my classes
but what happens if my class is in...
| |
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 FileAppender, as well as the
RollingFileAppender, but both don't work exactly the way I'd like them
to.
|
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. And my application has
a different AppDomain as it is a customization of another COM based
application written in VB.NET.
I have tried with App.Config files in my startup exe applications. It
works fine only till the parent application is...
|
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 either/both of these?
What's your opinion on them?
What were you using it for? (general logging, sending smtp alerts etc)
|
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 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.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |