Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Users loging tracking

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Jforum running in a jboss server.
Is there a way to track all the users who logged into JfOrum on a particular date.


Thanks & Regards
Surendhar.P
[originally posted on jforum.net by surendhar]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AFAIK, there's no logging like that built in. Mainly because it eats up a lot of disk space on large user installs..

However, you might be able to find this information from the access logs (e.g. the log of HTTP requests coming in). This may or may not be turned on. (Tomcat has this off by default). You should be able to see the times and IP's the login post screen is called with this. I think there is an option to see the values for "post" forms as well.

Alternatively, you could add in a log4j "debug" or "info" statement info to the UserAction.validateLogin() method and then parse it out of the log files.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI
There is no access log file available. How do i have to turn on this features.



[originally posted on jforum.net by surendhar]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read your application server manuals...

FWIW, it Tomcat it's done by adding a Valve statement for the FastCommonAccessLogValve in the server.xml file.
[originally posted on jforum.net by monroe]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic