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

View 2 revisions

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.

Issue History

Date Modified Username Field Change
2009-01-30 02:32 tilm New Issue
2009-01-30 06:01 giallu Note Added: 0020744
2009-01-30 06:29 tilm Note Added: 0020746
2009-01-30 09:02 giallu Note Added: 0020749
2009-01-30 09:55 tilm Note Added: 0020754
2009-02-03 02:46 tilm Note Added: 0020771
2009-02-03 03:04 giallu Note Added: 0020772
2009-02-03 08:24 tilm Note Added: 0020774
2009-02-03 11:31 giallu Note Added: 0020776
2009-05-30 00:01 vboctor Note Added: 0021969
2009-05-30 01:16 tilm Note Added: 0021970
2009-05-30 01:46 vboctor Note Added: 0021971
2009-05-30 01:55 vboctor Status new => acknowledged
2012-01-07 09:55 andy778 Note Added: 0030841
2013-09-05 09:35 atrol Relationship added has duplicate 0016360
2013-09-06 05:38 brocn Note Added: 0037993
2013-09-06 08:14 dregad Note Edited: 0021969 View Revisions
2013-09-06 08:16 dregad Note Added: 0037997
2017-01-18 13:29 atrol Severity major => feature