stritti / log4js

Log4js - The Logging Framework for JavaScript with no runtime dependencies
https://stritti.github.io/log4js/
Apache License 2.0
448 stars 58 forks source link

Clear log file and write to it with out restarting the server #25

Open zivbrachia opened 6 years ago

zivbrachia commented 6 years ago

Hi, I want to manually clear the log file. I want to use the same features of "maxLogSize" with "backups" and I need the ability of do it manually. by using log4js command:

The log file will be backups it self Change file name Clear the main log file. I need your help with solution for this problem, thanks