Hwo to log / audit user activity?

mikkelhansen

Joined: 2006-06-25
Posts: 4
Posted: Sat, 2007-10-06 01:25

Hi everybody,

Am I missing something, or is there no way of tracking user activity on Gallery 2.2.3?

More specifically, I am interested in tracking who has been online when, and of course also un-successful login attempts.

Any suggestions or ideas how I can accomplish this?

Thanks :-)

 
mikkelhansen

Joined: 2006-06-25
Posts: 4
Posted: Fri, 2007-10-12 15:44

....form the absence of any comments or replies I assume this isn't possible.....

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2007-10-12 17:00

G2.3 has 'Event Logs' and there is a notification module under development as well.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
djpumpkin

Joined: 2006-12-06
Posts: 135
Posted: Thu, 2007-11-08 11:06

I've been looking at the 'Event Logs' module. Worryingly it is full of reported PHP errors, here's a brief example:

Quote:
Type Location Client Summary
Thu 08 Nov 2007 05:28:24 EST PHP Error Link 194.80.197.211 [Notice] Use of undefined constant COMMENT_PUBLISH_STATUS_PUBLISHED - assumed 'COMMENT_PUBLISH_STATUS_PUBLISHED' in file /home/artsele/public_html/modules/comment/classes/GalleryCommentHelper.class on line 264
Thu 08 Nov 2007 05:28:23 EST PHP Error Link 194.80.197.211 [Notice] Use of undefined constant COMMENT_PUBLISH_STATUS_PUBLISHED - assumed 'COMMENT_PUBLISH_STATUS_PUBLISHED' in file /home/artsele/public_html/modules/comment/classes/GalleryCommentHelper.class on line 44
Thu 08 Nov 2007 05:28:15 EST PHP Error Link 194.80.197.211 [Notice] Use of undefined constant COMMENT_PUBLISH_STATUS_PUBLISHED - assumed 'COMMENT_PUBLISH_STATUS_PUBLISHED' in file /home/artsele/public_html/modules/comment/classes/GalleryCommentHelper.class on line 264
Thu 08 Nov 2007 05:28:15 EST PHP Error Link 194.80.197.211 [Notice] Use of undefined constant COMMENT_PUBLISH_STATUS_PUBLISHED - assumed 'COMMENT_PUBLISH_STATUS_PUBLISHED' in file /home/artsele/public_html/modules/comment/classes/GalleryCommentHelper.class on line 44

They are all related to lines 264 and 44 of GalleryCommentHelper.class

Is this something to worry about?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-11-08 11:46

those constants are defined at the top of modules/comment/module.inc.
i guess there's a bug when the event-listener in GalleryCommentHelper.class is called, module.inc isn't included yet.

could you please file a bug at http://sf.net/projects/gallery/ ? thanks.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
fotonut

Joined: 2009-02-21
Posts: 74
Posted: Wed, 2009-12-30 14:10

Any progress on seeing who is or is trying to log in and how often?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-12-30 17:27

Probably not what you're looking for, but there is a notifications plugin and you can use that to send you notifications for logins and logouts. However, that's it.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here