Skip to main content
7 events
when toggle format what by license comment
Feb 13, 2015 at 19:50 comment added AK_ @t3chb0t Events are a good idea... Most of the "Enterprise" Applications I did the logging for defaulted to windows events if they couldn't start the logger properly, or couldn't start at all...
Feb 13, 2015 at 19:44 comment added t3chb0t Thanks, I will. I probably will have to create a simple config to be able to log events at startup like unreachable database.
Feb 13, 2015 at 19:34 comment added AK_ OK... But you should keep the start-up thing in mind... Also if I recall correctly the Common-Logging library uses standard .Net configuration. so there are a lot of solution to load these from the DB... Honestly in your place I would have done my best to keep to existing stuff instead of developing these kind of things myself...
Feb 13, 2015 at 19:28 comment added t3chb0t I won't contradict you... but the client machines often don't give us any access to the config files and if we need to change some settings the only way to do it is via the database which we can access remotely. They also damage the config files very often. Don't ask me how ;-) it's easier to change the settings by yourself then try to explain the other party how to do it over a telephone.
Feb 13, 2015 at 19:23 comment added AK_ @t3chb0t Using DB to configure logging is a very bad idea. You need logging to be the first thing to work in your application, so you will be able to log the start up process, including connecting to the DB.
Feb 13, 2015 at 19:18 comment added t3chb0t This is a great suggestion. I'll use it as an inspiration. Generally it does the same what I am going to do. The only difference is that I must not use config files but a database (it has to be configurable remotely because we seldom have access to the config files) so I needed to make some adjustments anyway.
Feb 13, 2015 at 19:09 history answered AK_ CC BY-SA 3.0