View Issue Details

IDProjectCategoryView StatusLast Update
0010092mantisbtfeaturepublic2017-01-18 13:29
Reportertilm Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status acknowledgedResolutionopen 
Product Version1.2.0a3 
Summary0010092: Logging of user action (login, download, ...)
Description

Would be a great feature to have an option which allows logging of user login's.
Especially to track response times on solved bugs and for quality assurance.
This could be added as an extra flag to the $log_level var.

TagsNo tags attached.

Relationships

has duplicate 0016360 closedatrol trace logs when user logg in Mantis 

Activities

giallu

giallu

2009-01-30 06:01

reporter   ~0020744

uhm. it's not clear what you do want to track and how.

Right now, we track for each user the last login timestamp.

tilm

tilm

2009-01-30 06:29

reporter   ~0020746

For clarification:
Timestamp logging of log-in AND log-out including username (and IP) would be great.
BTW: Ist the login timestamp already shown in the logfile?

giallu

giallu

2009-01-30 09:02

reporter   ~0020749

I never used the logfile feature nor seen the code so I'm not sure.

Anyway, It would be a bit tricky tracking the logout timestamp because the user can just close the browser without actually logging out (and the cookie will remain valid so he will not need to login again next time).

I guess it would be easy (if not already done) to print the the login timestamp in the logfile

tilm

tilm

2009-01-30 09:55

reporter   ~0020754

"I guess it would be easy (if not already done) to print the the login timestamp in the logfile " -> How can this be done/configured ?

tilm

tilm

2009-02-03 02:46

reporter   ~0020771

Again:
How can if configure MANTIS to track login timestamps in the logfile ?

giallu

giallu

2009-02-03 03:04

reporter   ~0020772

I never said it is possible to do that.
I said it I did not look in the code to see what's stored in the logfile, and I also said if this info is not included in the logfile I do not expect adding some new PHP code to do it being very difficult.

Did you activate the logging feature? from what I see here it's not clear whether you checked or not the feature.

tilm

tilm

2009-02-03 08:24

reporter   ~0020774

Logging is activated.
If YOU cannot tell me how to implement the featur, could you pls. tell me who is responsible or how i can dispatch the request to others.
Thks
Tilman

giallu

giallu

2009-02-03 11:31

reporter   ~0020776

You already dispatched the request to the proper place.
Of course being this a project run by volunteers in their spare time I'm not sure you will find a "responsible" for creating for you this feature.

On the other hand, if you are proposing to offer your time to develop this and need some assistance on where to look, please use our development mailing list at:

https://lists.sourceforge.net/lists/listinfo/mantisbt-dev

or the #mantishelp irc channel on freenode

vboctor

vboctor

2009-05-30 00:01

manager   ~0021969

Last edited: 2013-09-06 08:14

I've implemented an eventlog plugin for 1.2.x sometime ago. It makes sense for such logging to probably use that.

https://github.com/mantisbt-plugins/EventLog

EDIT [dregad]: fixed link to plugin

tilm

tilm

2009-05-30 01:16

reporter   ~0021970

Hello Victor, thanks for your tip.
Did you take ya look at the provided readme?
As i can see, it definitely has nothing to do with the extension itself.

vboctor

vboctor

2009-05-30 01:46

manager   ~0021971

The readme is wrong, it is a copy and paste error since I based this plugin on the ManTweet skeleton, so there are some stale comments.

However, this plugin doesn't exactly address your audit log requirements. It provides a destination for logging such information. However, someone still has to log the necessary information.

andy778

andy778

2012-01-07 09:55

reporter   ~0030841

I had problem to get this to work at first as I didn't notice that one need to have $g_log_level = LOG_NONE configured to not the default settings in mantis

brocn

brocn

2013-09-06 05:38

reporter   ~0037993

is it possible or not?
I don't understand?
what must be the $g_log_level = ?
thanks

dregad

dregad

2013-09-06 08:16

developer   ~0037997

It is obviously not implemented otherwise this issue would be resolved.