Hi,
Need help for customizing request.log and access.log files for CQ 5.6.1. I need to add Session ID attribute to the log files for some monitoring purpose. Read the documentation for CQ 5.6.1 and its mentioned that customizing these 2 files is possible. But didn't find any details or examples of how to achieve that. Can you please let me know about this?
Solved! Go to Solution.
Views
Replies
Total Likes
For this you need to configure RequestLoggerService & not logger writer or reader.
Views
Replies
Total Likes
Hi,
what do you mean with session ID? Do you want to print the server-side session ID to the logfile? I don't think, that this is not easily possible, as it is not provided as variable in the logger (see the OSGI console for the list of supported data for logging. You likely need to extend the code, but note: AEM 5.6.1 still uses slf4j, while AEM 6.x uses logback as backend.
kind regards,
Jörg
Views
Replies
Total Likes
For this you need to configure RequestLoggerService & not logger writer or reader.
Views
Replies
Total Likes