• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Users loging tracking

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
reply
    Bookmark Topic Watch Topic
  • New Topic