Hi,
We could not find the user access logs on our confluence server , Can someone please help us to enable this feature.
Much Appreciate,
Nalin
Hello Nalin,
Here is a link for enabling user access logs for Confluence Server and Datacenter.
Best Regards.
Anıl.
Hi @Nalin Wijeratne
adding to the link of Anıl here is some more general information about where to find the logs for Confluence
Working with Confluence logs
Please let us know if it worked out and you were able to find the logs.
Regards,Daniel
Unfortunately It did not resolve by generating User_Acceess_Logs file in the Confluence Logs folder , By the way we are running Confluence version : 7.5.1 ,
"
Access logging using Tomcat Valve is enabled by default from Confluence 7.11. These logs are not part of the application log, and can be found at <install directory>/logs/conf_access_log.<date>.log."
<install directory>/logs/conf_access_log.<date>.log
Even though default suppose to generate this log file separately but not., I have tried following suggested , and reboot the servers and waited for 24 hrs , still no user_access_logs.
To enable user access logging:
Uncomment this line in confluence/WEB-INF/classes/log4j.properties:
confluence/WEB-INF/classes/log4j.properties
log4j.category.com.atlassian.confluence.util.AccessLogFilter=INFO
Enable the filter in confluence/WEB-INF/web.xml by removing the comments around these lines (or adding if they are not included):
confluence/WEB-INF/web.xml
<filter-mapping> <filter-name>AccessLogFilter</filter-name> <url-pattern>/display/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>AccessLogFilter</filter-name> <url-pattern>*.action</url-pattern> </filter-mapping>
I'd also say that from the description a separate log should be created, however in the info box it reads:"By default, this logging information is stored in the atlassian-confluence.log file in the Confluence Home directory. "Did you check if the user access is logged to atlassian-confluence.log although not intended?
atlassian-confluence.log
I found the atlassian-confluence.log in following location :Atlassian\Application Data\Confluence\logs"Actually it updated today.Has information such as LDAP sync number of users /groups sync with AD etc,But we are interest in following detailed information about user specific access logs, specifically Username , ( or Display Name ) , Log suppose to capture all action specific to that user once logged ( such as read page / write / modify / delete content /adding new contents , etc )
Would you please email me , then we can go more detailed into the logs file that is currently generated , my email is: nalin.wijeratne@cae.com
Thanks,
It looks like you're new here. Sign in or register to get started.