[logback-user] Query reg. symlink to the latest log file
Rahul Amaram
rahul.amaram at vizury.com
Sat Aug 10 09:33:37 CEST 2013
Hi,
Is it possible to automatically create a link whenever a new file is
opened for logging? Elaborating, I am using a filenaming convention
based on time. For ex.
access.log-2013-09-20
access.log-2013-09-21
access.log-2013-09-22
Now, whenever the new log file is generated, I want a symlink
"access.log" pointing to the latest log file.
Is this possible using some hook? If I were to implement it by extending
an appender, could some pointers be provided on how I could get it done?
Regards,
Rahul.
More information about the Logback-user
mailing list