Is there any way to have the logger support rotation in a way that it picks either min file size / daily rotation whichever comes first ?
Solved! Go to Solution.
Views
Replies
Total Likes
The way sling logging is setup you could either use scheduled rotation or size based rotation, both can not be used simultaneously in a single configuration.
There are more details around the loggers in sling documentation here
The best practice per say:
Thanks!
The way sling logging is setup you could either use scheduled rotation or size based rotation, both can not be used simultaneously in a single configuration.
There are more details around the loggers in sling documentation here
The best practice per say:
Thanks!
@binoyp6992037 Please give a try by having two writer configuration for same logger file, one with scheduled configuration and another with size configuration.
https://www.youtube.com/watch?v=rwRozch4OYo
http://www.sgaemsolutions.com/2019/12/aem-logs-in-detail-part-2.html
Views
Likes
Replies
Views
Like
Replies