Hello,
I am writting a multithreaded server applicaton that logs all of its information to the event log. I would like to create custom categories for the servers events. It seems the only way to do this is to create resource dlls. Then manually write registry keys to tell the event log to use these dlls. This application is intented to be universal for microsoft operating systems and I don't want to manually write registry keys. Is there nothing in the .net framework that will allow me to write completely customized event logs?
I needed a mechanism to back up event logs when they get full. It seems the only way to change the default size of an event log is to once again manually write registry keys. There appears to be no mechanism in the .net framework to save event log files as .evt files readable by the eventlog viewer. In absence of a better solution I am currently backing up the eventlogs to csv files when they reach 500kbs (the default log size is 512kb) or greater.
Any help would be greatly appreciated,
I am writting a multithreaded server applicaton that logs all of its information to the event log. I would like to create custom categories for the servers events. It seems the only way to do this is to create resource dlls. Then manually write registry keys to tell the event log to use these dlls. This application is intented to be universal for microsoft operating systems and I don't want to manually write registry keys. Is there nothing in the .net framework that will allow me to write completely customized event logs?
I needed a mechanism to back up event logs when they get full. It seems the only way to change the default size of an event log is to once again manually write registry keys. There appears to be no mechanism in the .net framework to save event log files as .evt files readable by the eventlog viewer. In absence of a better solution I am currently backing up the eventlogs to csv files when they reach 500kbs (the default log size is 512kb) or greater.
Any help would be greatly appreciated,