Keep some log files updating plugin
-
Hi there,
Our plugin uses log4php which allow allow us to log quite easily in a specific plugin subfolder : my-plugin/logs/nameofmylogfile-dd-mm-yyyy.log
Each day a new log file is created.
The problem is that when updating plugin, the logs directory is replaced with a new empty one, and we lose all previous log files, which can be very usefull.
How can we manage this ? Should we log in another wp directory ? Which one ?
Thanks a lot!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Keep some log files updating plugin’ is closed to new replies.