File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes Users loging tracking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Users loging tracking" Watch "Users loging tracking" New topic
Author

Users loging tracking

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Users loging tracking
 
Similar Threads
Storing jforum user outside jforum database
Migrating application users to JForum
Need help with JForum
Delete users
LDAP support