nthallen / icosfit

ICOSfit Absorption Spectra Fitting Software
GNU General Public License v2.0
3 stars 0 forks source link

Log file initialization should occur whether filename is specified or not #22

Open nthallen opened 2 years ago

nthallen commented 2 years ago

Currently, the ICOSfit Version %s (%s) Start message is only printed if we are using tee to target a named log file. The default is to output messages to stderr, and there is no reason not to output the startup message even if no log file is specifically named.

I want to use this feature to avoid running tee when doing realtime fitting. I will instead explicitly redirect stdout and stderr to a logfile.

nthallen commented 2 years ago

Could also add an option not to run /usr/bin/tee, sending all output to the log file and nothing to stdout/stderr