PardeeCenterDU / IFs-Issues-Tracking

This repository only holds the list of bugs that have been reported for IFs. Anyone may add a bug report, but please look to see if your issue has already been added!
2 stars 0 forks source link

How to add a log file to the .NET exe #190

Closed PardeeCenterIFs closed 2 years ago

PardeeCenterIFs commented 2 years ago

The format to add parameters to the .NET exe is:

ifs.exe 5 2100 -1 true true 1 false --log jrs.txt

The last parameter has the name of the log file, where it will store all the debug.print and trace.print statements. Debug.print statements will only be printed if compiled in debug mode. The file will be stored under the working folder, for example net471 for target machines, and Code-ifs.translation for developers.

The log file is not recreated, so it's a good idea to delete an old file or rename using date and time stamp.