Closed
Description
Would it be possible to add a symlink in the log directory to the directory where the active logs are stored?
e.g. When starting z2m it creates the directory "2021-04-12.15-53-33". After a few restarts (due to testing for example), it becomes somewhat harder to find the right directory.
It would be ideal if, when z2m starts, log/2021-04-12.15-53-33 is still be created, but then also a symlink is added for log/current which points to log/2021-04-12.15-53-33. Of course any existing symlink must be removed first.
This way one can easily review logs under log/current/log.txt 😀
Unfortunately I am not able to change lib/util/logger.js myself to add this capability else I would have submitted a PR myself.
Thanks for considering!
Activity