Where is the confluence log?
Asked by Quintin Holmberg:

I'm having trouble adding users to the confluence-administrators group. I saw another question about this but the solution that seemed to work for someone there did not work for me. When I try to add the user to the group I get the message ...

* Failed to modify group memberships. Check your server logs for more information.

Can anyone tell me where this log is?

Confluence is installed locally on a Ubuntu server.

I'm working in Confluence 5.7.4 although this problem has existed for quite a while. It did not exist when I installed the system 3 years ago. I do not know what version it started with.


Answers:
author: Guilherme V.
body: Oh, by the way, the Confluence logs are in \<confluence_home_directory\>/logs.


author: brunoaalmeidabresimar
body: I had this issue when migrating to another server, with diferente address and ip.

After many hours of not working, i found and ip address pointing to old machine. The location in Jira is: User management -\> Jira user server -\> Edit -\> IP Addresses. After i updated my Confluence authentication started work.


author: Quintin Holmberg
body: We are using AD integration. I have no doubt it is in some way related. First, find the information on the error, though.

Yes, I found /opt/confluence/logs/. There are several different kinds of logs in there. Any idea which one I should be looking at? Here is a directory listing ...

```
-rw-rw-r-- 1 confluence confluence    6135 May 14 16:28 catalina.2015-05-14.log-rw-rw-r-- 1 confluence confluence    3219 May 15 11:08 catalina.2015-05-15.log-rw-rw-r-- 1 confluence confluence     184 May 18 13:35 catalina.2015-05-18.log-rw-rw-r-- 1 confluence confluence     184 May 21 14:06 catalina.2015-05-21.log-rw-rw-r-- 1 confluence confluence    7138 May 28 15:58 catalina.2015-05-28.log-rw-rw-r-- 1 confluence confluence     552 May 29 13:36 catalina.2015-05-29.log-rw-rw-r-- 1 confluence confluence     184 Jun  1 09:59 catalina.2015-06-01.log-rw-rw-r-- 1 confluence confluence     184 Jun 16 07:58 catalina.2015-06-16.log-rw-rw-r-- 1 confluence confluence     185 Jun 20 10:41 catalina.2015-06-20.log-rw-rw-r-- 1 confluence confluence     185 Jun 26 10:59 catalina.2015-06-26.log-rw-rw-r-- 1 confluence confluence    4131 Jul 18 10:01 catalina.2015-07-18.log-rw-rw-r-- 1 confluence confluence     920 Jul 20 09:26 catalina.2015-07-20.log-rw-rw-r-- 1 confluence confluence    1337 Jul 21 10:34 catalina.2015-07-21.log-rw-rw-r-- 1 confluence confluence    5090 Jul 23 11:16 catalina.2015-07-23.log-rw-rw-r-- 1 confluence confluence   31749 Jul 23 11:16 catalina.out-rw-rw-r-- 1 confluence confluence  349073 May 28 06:55 gc-2015-05-14_16-19-14.log.0.current-rw-rw-r-- 1 confluence confluence    7193 May 14 16:39 gc-2015-05-14_16-34-41.log.0.current-rw-rw-r-- 1 confluence confluence 1290869 Jul 18 02:08 gc-2015-05-28_08-21-48.log.0.current-rw-rw-r-- 1 confluence confluence   67579 Jul 23 10:10 gc-2015-07-18_10-14-50.log.0.current-rw-rw-r-- 1 confluence confluence   14968 Jul 23 14:31 gc-2015-07-23_10-10-33.log.0.current-rw-rw-r-- 1 confluence confluence       0 May 14 16:34 host-manager.2015-05-14.log-rw-rw-r-- 1 confluence confluence       0 May 28 08:21 host-manager.2015-05-28.log-rw-rw-r-- 1 confluence confluence       0 Jul 18 10:14 host-manager.2015-07-18.log-rw-rw-r-- 1 confluence confluence       0 Jul 23 10:10 host-manager.2015-07-23.log-rw-rw-r-- 1 confluence confluence       0 May 14 16:34 localhost.2015-05-14.log-rw-rw-r-- 1 confluence confluence       0 May 28 08:21 localhost.2015-05-28.log-rw-rw-r-- 1 confluence confluence       0 Jul 18 10:14 localhost.2015-07-18.log-rw-rw-r-- 1 confluence confluence       0 Jul 23 10:10 localhost.2015-07-23.log-rw-rw-r-- 1 confluence confluence       0 May 14 16:34 manager.2015-05-14.log-rw-rw-r-- 1 confluence confluence       0 May 28 08:21 manager.2015-05-28.log-rw-rw-r-- 1 confluence confluence       0 Jul 18 10:14 manager.2015-07-18.log-rw-rw-r-- 1 confluence confluence       0 Jul 23 10:10 manager.2015-07-23.log
```

I've looked through a couple with today's date in it but I'm not finding anything that looks like messages related to group add errors.

comments: author: Guilherme V.
body: Hey Quintin, That is not the right folder. The right folder has the 'atlassian-confluence.log' file. You need to directly edit your users groups in the AD.The confluence home folder is the one that you set in the 'confluence-init.properties' file located at \<confluence_install folder\>\\confluence\\WEB-INF\\classes.


author: Quintin Holmberg
body: I added confluence-administrators to AD, added myself and synchronized AD but I still was not in there according to Confluence. Interestingly, I went to add myself through Confluence and it allowed me to.They must have changed something with the way AD works with the built-in confluence groups. I'll start chasing down AD sync issues now.I still have to hunt down that log, though. I think I'll work that next.Thanks.


author: Vickey Palzor Lepcha
body: catalina.log is more of your application server log ( tomcat apache ) log - look for atlassian-confluence.log instead.


author: Guilherme V.
body: Hi there,   

Your system is probably using Crowd or LDPA to manage users, I believe that's why you can add those groups.  

Cheers,


Tags: confluence-administration

log