SQ server audit logging?

Hi, we’re evaluating SonarQube 7.9.1 CE (for the time-being). One of our requirements is audit logging (roughly who did what and when). Out of the box, I am seeing no such audit logging capability. For the most simple example, I can login to the web UI and there is nothing in the logs matching my username (jblaine).

[m26560@etc-sonarqube-dev logs]$ grep -i jblaine *
[m26560@etc-sonarqube-dev logs]$

I saw nothing in the “Administering an Instance” docs, the forums, or the FAQ about audit logging.

I already set sonar.web.accessLogs.enable=true in sonar.properties but there is no user attribution in the log lines:

172.31.135.179 - - [13/Aug/2019:16:07:56 -0400] "POST /api/authentication/login HTTP/1.1" 200 ...etc...

Does anyone have any idea?
Jeff

Hi Jeff :wave:

There are some good insights in this suggestion thread:

Notably, sonar.web.accessLogs.pattern in your sonar.properties (make sure to check-out reqAttribute{LOGIN} , mentioned in the comment of that property).

I am not sure how I missed the mention of %reqAttribute{LOGIN} in the sonar.properties :sleeping:. Thanks, Nicolas.