How to read windows service event log

I am trying to modify an already written Windows service.

I see that the source has a System.diagnostic.EventLog object that logs various actions of the service.

I am trying to figure out how to read this magazine. From semantics, it seems that Eventlog logs several service actions.

where this journal is stored, as I can see it, I need access to it, because my service is sometimes interrupted with interruptions.

I tried to do this, but did not find any solid answers. Putting the questions simply is what eventlong is and how I use it.

+3
source share
1 answer

" " " ". , Windows , , , Windows . , "", "". , .

+10

Source: https://habr.com/ru/post/1733584/


All Articles