I am writing a window app (in C#) which reads an input xml file,parse it and updates SQLtables. This app runs once a day at night.I want to add logging (to a text file) to this app.
Could anyone explain to me how to go about doing this.
I want to create a separate log file everytime,so that logfiles can be archived.
Some examples would be very helpful.