Windows Service as Network Service-log4net Event Logging issues

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When a Windows Service is running as a Network Service, and when using
log4net (1.2-beta 9, the latest version) for logging, the logs are not being
written to the event log.

1. The event logs are being written by log4net when the service runs as a
Local account
2. The event logs are being written even as a Network Service, when there is
code directly in the Windows Service to write to the event log. However, the
log4net logs don't show up. Other logs such as Rolling Files/Files show up
fine, however, only the event-logs have a problem.

Any help or insight will be greatly appreciated.

Swami
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top