I am trying to design the error and warning log file for my desktop program.
As my program reads the user's input file, it may find syntax errors or invalid data of some sort. Once everything is read and the program is processing the data, more problems may be found.
I want to write messages about these into a simple text file. I may also want to include informational text to indicate progress, time, memory use, etc. I'll want to include line numbers and maybe even the actual input lines that are causing the errors.
This will be a file that the user will want to browse through, so obviously it has to be well laid out and easy to use.
Do you know of any style guides for this, or have you seen an error log file that has made you think to yourself: "Now that's a well designed log file!"
Followup:
The first three answers are actually more applicable for a server or event log.
I'm really looking for a format for a log file for my desktop program to detail any problems it finds with the input file and the success (or failure) of its processing thereof.
I'm sure there are some desktop applications that you've used that produce such log files. Have you seen any good ones?