LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-08-2008, 12:34 AM   #1
SimbaSpirit
Member
 
Registered: Feb 2008
Posts: 109

Rep: Reputation: 15
I need the locations of different logs for internet activities.


I made my own personal server, now its time to learn how to monitor it.

I use proftpd for ftp
I use apache2 for http

If I have a file at www.xyz.com/file.ext and someone downloads it, where would the IP of the downloader be logged to?

What about if they access it via proftpd?

TIA
-SS
 
Old 04-08-2008, 01:17 AM   #2
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 573

Rep: Reputation: 61
There are many log files, most reside in /var/log. Different server applications, e.g. vsftp and apache, can be configured to send their log output to custom locations, but generally everything goes to /var/log. Apache for example, has a directory under /var/log called httpd which is where all of its log output goes.

Check your application config files to see where each package is logging to - e.g. /etc/httpd/conf/httpd.conf tells you that it logs to /etc/httpd/logs, but a quick investigation will show that this is a symbolic link to /var/log/httpd. My point is, your system will tell you where you log files are.

You should look into logwatch. On my Fedora and RHEL systems this is executed daily via /etc/cron.daily, where an entry can be found for logwatch (probably a link to the real script). Logwatch sends an email (typically to root) each day, extracting useful info from your log files. You can customise the activities of logwatch by editting the config file at /etc/logwatch/conf/logwatch.conf. Use "man logwatch" for more info.

You didn't tell us which distro you're using, so I hope this is applicable to your system.

Last edited by blacky_5251; 04-08-2008 at 01:21 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does linux logs internet activity or downloads dv502 Linux - General 4 09-16-2006 08:13 PM
Inbound traffic logs, normal behavior of the internet ? Danodare Linux - Security 2 02-26-2004 02:57 AM
Internet lost when root logs on? snatale1 Mandriva 0 01-10-2004 06:57 PM
Internet / Network Logs psychoholic Linux - Networking 4 02-06-2003 07:32 PM
where are the logs for my internet traffic tonyh Linux - General 2 05-26-2002 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration