Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to show the user session information in the log file?

 
Koti Samadhi
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

How to show the user session information in the log file?

Anyone can please provide the solution for display the user session information in the log file.

Thanks & Regards
Koti
 
Chinna Eranna
Ranch Hand
Posts: 174
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by user session ?
 
Koti Samadhi
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
User Session means- System logged user session information.

 
Chinna Eranna
Ranch Hand
Posts: 174
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are talking about HttpSession, you can get lots of information and print in the log.

Still, I think.. you question is not clear.. on what you want to log.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can log anything you want.

It also depends on which logging system you're using, for example Log4J has "profiles" (I think that's what it's called) that can show session info more automatically, but I don't recall how it works.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic