Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Cant see output to Event log with log4net EventLogAppender.

Cant see output to Event log with log4net EventLogAppender.

Scheduled Pinned Locked Moved C#
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chintan Desai
    wrote on last edited by
    #1

    Hi Guys, I want to write to event log with log4net eventlogappender, but could not get the output in event log. Below is my code snippets

    Creating root
    

    I use to get IsErrorEnabled as true, but cant see the output. I think I am missing Source, but there is no property to set the source. Pls let me know, if I miss any properties. thanx in advance.

    Thanks, Chintan(India)

    G 1 Reply Last reply
    0
    • C Chintan Desai

      Hi Guys, I want to write to event log with log4net eventlogappender, but could not get the output in event log. Below is my code snippets

      Creating root
      

      I use to get IsErrorEnabled as true, but cant see the output. I think I am missing Source, but there is no property to set the source. Pls let me know, if I miss any properties. thanx in advance.

      Thanks, Chintan(India)

      G Offline
      G Offline
      Giorgi Dalakishvili
      wrote on last edited by
      #2

      Do you have enough permissions to write to event log?

      C 1 Reply Last reply
      0
      • G Giorgi Dalakishvili

        Do you have enough permissions to write to event log?

        C Offline
        C Offline
        Chintan Desai
        wrote on last edited by
        #3

        Hi Giorgi, Yes, I have full admin permission. I try the same with .NET EventLog class which was working fine...

        Thanks, Chintan(India)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups