Logging¶
These options determine how bettercap console logger is going to behave.
Examples¶
Save log output to the out.log file:
sudo bettercap --log out.log
Save log output to the out.log file and suppress terminal output:
sudo bettercap --log out.log --silent
Save log output to the out-ts.log file and enable timestamps for each line:
sudo bettercap --log-timestamp --log out-ts.log
Options¶
-O, --log LOG_FILE¶
Log all messages into a file, if not specified the log messages will be only print into the shell.
--log-timestamp¶
Enable logging with timestamps for each line, disabled by default.
-D, --debug¶
Enable debug logging, it is good practice to use this option while reporting a bug in order to have the full debug log of the program.
--silent¶
Suppress every message which is not an error or a warning, default to false.