GiacomoLaw / Keylogger

A simple keylogger for Windows, Linux and Mac
https://simple-keylogger.github.io/
MIT License
2.09k stars 616 forks source link

Split log files on hour basis to logs directory #157

Open sinipelto opened 3 months ago

sinipelto commented 3 months ago

To avoid piling up a huge single log file, split the logging based on current hour.

Keep the logfile open until current hour changes, then open a new logfile.