Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Users loging tracking

 
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]
 
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic