I have community build deployed on a k8s cluster and I noticed all logs except the access.log are sent to stdout, making it possible to see logs with Azure aks logs /Container Logs. Is there a way to send access.log to stdout as well? Thank you.
Hey @Kzzz
I don’t think this is possible with any standard configuration. access.log prints a log entry for every single web request, which would be super noisy for anybody operating a SonarQube instance. What do you want to do with these logs? Would like to know more about your use case. ![]()
Hey @Colin , we want to collect all entries from access.log in order to track system changes and user activity in our compagny. We adjusted the accessLog pattern to our requirement. Now we are wondering how to collect and store them. We are on aks.
Thanks!
I think the approach you have to use here is sidecar container that tails the access.log file and streams it to stdout. See the Kubernetes logging documentation for more details on this pattern.
1 Like