>>In my error manager I have a code that logs (into an error log file) the Stack info. The code executes ASTACKINFO(aStackArray) and then stores the content of the array aStackArray into the log file.
>>But I have NEVER found this information to be helpful in troubleshooting any problem.
>>
>>What "good" data do you recommend to log into the Log file (at run-time, at customer) in order to - later - be able to troubleshooting the problem?
>
>You may also log the last SQL command that was executed, the main application property values. For Web application, the IP used, the language used, the server name, the environment, etc. would turn out to be useful.
Thank you. This is not a web application.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham