Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

User Access Logs not generating

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 

2 answers

0 votes
Daniel Ebers Community Leader Feb 01, 2021

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

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 ,

"

Log the details of users accessing each Confluence page

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:

  1. Uncomment this line in confluence/WEB-INF/classes/log4j.properties:

    log4j.category.com.atlassian.confluence.util.AccessLogFilter=INFO
  2. 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>
Daniel Ebers Community Leader Feb 04, 2021

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?

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

Daniel Ebers Community Leader Feb 04, 2021

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

Hello Nalin,

Here is a link for enabling user access logs for Confluence Server and Datacenter.

Best Regards.

Anıl.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,574 views 7 30
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you