droberson/ssh-honeypot

[feature] allow disabling the file log

tedder opened this issue · 1 comments

I think I can run ssh-honeypot on a readonly filesystem if it didn't need to log. As a workaround, I'm logging to /dev/null right now, but with the way log_entry() is written, writing to console or syslog is in addition to the logfile, which is unfortunate.

Added -L flag to toggle writing to a file; 10a6caf