log4net mysteriously stops logging

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • RobinS

    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

Working...