|
Try debugging to see if you are getting configured right. Make sure the
config file is getting read properly.
If the event log AND the file logging both fail, that points to something
higher in the tree.
and enable debugging on log4net. From: Wang, Jason @ Newport MacArthur [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 1:53 PM To: 'Log4NET User' Subject: RE: Windows Service Brette,
What about Windows Service using the rolling file appender? If the exe I
registered as a Windows Service is stored in C:\MyService, technically, the log
file should be created in there as well right? What stumps me is that
Filemon from Sysinternals did not detect any permission denied tries that may
indicate some sorts of a user/file permission
cause. Thanks, Jason
From:
Esterbrooks, Brette [mailto:[EMAIL PROTECTED] I have run into this
problem when trying to log to event log. It ended up being that the
user that was running log4net did not have access to log to the event log.
Have you tried taking out the event log appender and seeing if the file appender
is working? Brette -----Original
Message----- I'm having trouble getting log4net working in my Windows
Service application. Root is setup to use both event log appender and
rolling log file appender but nothing is logged (No exception thrown
either). What is the best way to
troubleshoot? Thanks, Jason DISCLAIMER: |
Title: Message
- Windows Service Wang, Jason @ Newport MacArthur
- RE: Windows Service Esterbrooks, Brette
- RE: Windows Service Wang, Jason @ Newport MacArthur
- RE: Windows Service Wang, Jason @ Newport MacArthur
- RE: Windows Service Sargent, Erik
- RE: Windows Service Richard Louapre
- RE: Windows Service Esterbrooks, Brette
- RE: Windows Service Ron Grabowski
- RE: Windows Service Baron Schwartz
- RE: Windows Service Wang, Jason @ Newport MacArthur
- RE: Windows Service Wang, Jason @ Newport MacArthur
- RE: Windows Service Ron Grabowski
- RE: Windows Service Wang, Jason @ Newport MacArthur
- RE: Windows Service Ron Grabowski
- RE: Windows Service Wang, Jason @ Newport MacArthur
