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
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
Hi,
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
."
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
:
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):
<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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
Nalin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Support via email is something Atlassian Support offers - assuming you have a valid maintenance (license).
To summarize what we have so far:
in case the settings are made according to documentation access log should, indeed, show up in the file system.
If this does not work you would have to check if all settings are applied correctly.
A different approach could be to check the logs of any reverse proxy which might be in use in your setup (Apache or nginx are common ones, just to name them).
Probably you would also achieve a better result by a newer version of Confluence, however, acconrding to documentation you followed it should also work with Confluence version 7.5.
In case you want to double check you could report back here or refer to Atlassian support (https://support.atlassian.com/contact/)
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nalin,
Here is a link for enabling user access logs for Confluence Server and Datacenter.
Best Regards.
Anıl.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.