Closed lepz0r closed 2 years ago
Can you share how are you invoking the engine? If running engine.py
directly, --log
should control the logger; if that's not working, I'll mark this a bug
the logger that output to terminal can be controlled with --log
but logger that output to trials/log/<environtment-id>.engine.log
can't be controlled with --log
, I run the engine with sudo python3 engine.py --server-port 80,443 --environment-id cincin28 --strategy "[TCP:flags:PA]-fragment{tcp:8:True}(,fragment{tcp:4:True})-|" --log info --no-save-packets
which output nothing to the terminal but output something like this file to trials/log/cincin28.engine.log
regardless of --log
level parameter
cincin28.engine_info.log
Currently Geneva
engine.py
always write log to file with logging level debug regardless of--log
level parameter, but it can be problem when downloading a large file or having too many connections, the log file can grow so quickly