• Post Reply Bookmark Topic Watch Topic
  • New Topic

logs of my user  RSS feed

 
varun bihani
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody tell me how can I get logs of my visitors on my website..
some information I want to know is..
1.Which IP address he has come and his geographical location.
2.Which time he has visited.
3.Which search engine has he used to visit my website.
and much more informations like these.
I have my own web server where I have hosted my website.
Does apache log file has any role to play in this??
Plz help me out .. I reaaly dont have any idea where should I look for.
And I am sorry if I have used wrong subject in this forum..
 
S. Ganapathy
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Varun,
Have you ever seen the apache's logs directory?
Please have a look at access.log. You will find ip address, and time at which the mentioned page is accessed, etc.
Logging is a configurable parameter. Find the information in apache's configuration file (httpd.conf).
This concept is same for most of webservers, but log directory name may be different, and conf file may be different.
You can add custom logging through Servlet API as well. Find the useful in th API.
Regards,
Ganapathy,S
 
varun bihani
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can u give me some more information on how to implement it...
 
S. Ganapathy
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Varun,
Please go through the logs first(access.log in apache). And then go through the httpd.conf where you will find how to configure.
Regards,
Ganapathy,S
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!