Closed netzego closed 1 year ago
LOGFILE must be available outside of main. but load_configfile() and parse_args() are called inside main. this need a refactor to work.
do we need LOG and LOGFILE? or can we just use LOGFILE? maybe introduce LOGFILE also in vars.bash.
add a logic for logfile and actually do the logging (to a file). also add
--log
and--logfile
flag and option to set logging behavior via cli arguments.