• 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

log for observing activities!

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I am using jakarta struts to develop a small project. I am trying to see how I can log the activities of all users who log in to the application and access the database (creating, deleting and editing data) etc. I want to be able to record these information so that I know who logged in when, what the activity of that user was. Now, I have and am still reading on some mechanisms such as the log4j etc. But I am still not sure of what tool to use to accomplish this.
If I am to use the log4j do I use the logger.info for inserting such info or what? Can any one suggest to me what tool to use so that I start reading and working on it. Also if anyone know where I can get more resources regarding this (such as examples) can you please tell me.
Thank you in advance for your help.
Lee
 
I knew I would regret that burrito. But this tiny ad has never caused regrets:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!