duo-labs/EFIgy

log option

bc75 opened this issue · 1 comments

bc75 commented

The -l option doesn't work as indicated in the output of -h.
-h shows
" -l LOG, --log LOG File to log output to"
-l is treated as directory that the output file is written to with a generated filename.

Running the following command
" python EFIgyLite_cli.py -l efigy-out-2017-10-11.txt "
resulted in the following error with "N" replacing the the actual value generated
"[!] Error opening specified log file at 'efigy-out-2017-10-11.txt/EFIgyLite_cli_NNNNNNNNNNN_NN.log' - [Errno 2] No such file or directory: 'efigy-out-2017-10-11.txt/EFIgyLite_cli_NNNNNNNNNNN_NN.log'
"

Yup, I've cleaned up the -h messaging to be clearer that -l sets the directory to log to and is not the name of the file to log to.

Thanks raising