[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Raq3 How ftp.log mail.log come from which command ?



Hello,

how ftp.* mail.* comes from ?


7:47pm tong pts/1 /home/sites/home/logs > ls -al
total 31820
drwxr-s---   2 nobody   home         1024 Nov 15 19:10 ./
drwxr-sr-x   6 nobody   home         1024 Mar  3  2001 ../
-rw-------   1 root     home        64744 Nov 13 05:02 ftp.cache
-rw-r--r--   1 root     home       168864 Nov 13 05:02 ftp.log
-rw-r--r--   1 root     home        71991 Nov 13 05:02 ftp.stats
-rw-------   1 root     home         2227 Nov 13 05:06 mail.cache
-rw-------   1 root     home         2382 Nov 14 04:36 mail.cache.new
-rw-r--r--   1 root     home         4855 Nov 14 04:36 mail.log
-rw-r--r--   1 root     home        12616 Nov 14 04:36 mail.stats
-rw-------   1 root     home       599540 Nov 15 04:02 web.cache
-rw-------   1 root     home       709957 Nov 15 19:10 web.cache.new
-rw-r--r--   1 root     home     30362301 Nov 15 19:10 web.log
-rw-r--r--   1 root     home       441191 Nov 15 19:10 web.stats

After I modified split_logs, by comment 3 lines. I hate it. It kill the server RAM,
and sometime server down.

# Now we run analog over all the domains
#analyze_logs ($log_type);

# Then we generate the stats.tab file out of all of that mess.. Ugh..
#generate_tabs( @domains );

#  Run parseReport.pl over the whole lot..
#create_reports($log_type);

and run

bash#   /usr/local/sbin/split_logs web < /var/log/httpd/access
bash# ls -al
total 79144
drwxr-s---   2 nobody   home         1024 Nov 15 20:12 .
drwxr-sr-x   6 nobody   home         1024 Mar  3  2001 ..
-rw-r--r--   1 root     home     63862242 Nov 15 20:31 web.log
-rw-rw-r--   1 root     home     16859614 Nov 15 20:31 web.sessionlog

I got only two files.  I wonder how ftp.* and mail.* come from which command ?
There are no split_logs in cron and logrotates.