cancel
Showing results for 
Search instead for 
Did you mean: 

How to Enable user login detail in alfresco logs

g_rathod
Star Contributor
Star Contributor
Team,

How can we enable in alfresco log, which user logged in ?  Tracking users in alfresco logs.

Actual purpose is I want to track users sitewise (project wise), log can help me for that.


e.g.  <Timestamp>-USER XYZ logged in
5 REPLIES 5

fstnboy
Champ on-the-rise
Champ on-the-rise
Hi,

The audit module should do that. It doesn't log into the log file though, but into a table in the DB.

http://docs.alfresco.com/5.0/concepts/audit-intro.html

Regards.

g_rathod
Star Contributor
Star Contributor

Yes I can understand , it would be via audit, but I want that in alfresco logs.

cesarista
World-Class Innovator
World-Class Innovator

Maybe you can check this info in your logs turning to debug mode in:

logger.org.alfresco.repo.security.authentication.ldap=debug

for your ldap users. For other auth subsystems or endpoints such as webdav, smb, ftp, you may need other loggers.

Anyway, the best way of seeing which users are connected is with OOTB Support Tools addon.

Active Sessions · OrderOfTheBee/ootbee-support-tools Wiki · GitHub 

Regards.

--C.

What is difference between this support tool  (ootbee-support tools and )  alfresco addon "support tools" amp?

By the way this one I can only see current active sessions only. Not historic data

cesarista
World-Class Innovator
World-Class Innovator

The OOTB flavour of the support tools is for the community version. The other one is for Enterprise edition.

Ang yes, only current active sessions is given by the addon and not historic data. You have to audit in that case, or save the active sessions in any external system.

Regards.

--C.