01-11-2010
Best thing to do is, test by yourself in some testing setup.
And let us know, if you have some issues for which we can definitely help.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
My server has only has access logs turned on. How do I turn on the other standard logs (i.e. I'd like to see the referring urls).
Thanks in advance. (3 Replies)
Discussion started by: pingdom
3 Replies
2. UNIX for Dummies Questions & Answers
I support an app that outputs alert and audit messages to one log file (vendor says they can't be separated). The script that I have written takes a copy (mv cmd) of the file to do the separation and reformatting. I have a problem that I loose records (messages are being written constantly, upto 3+... (5 Replies)
Discussion started by: nhatch
5 Replies
3. Shell Programming and Scripting
Hi All
There are some cron jobs ,which runs 24 hrs. Log files are generated when one job fails.
So I need the log files to be emailed to my personal e-mail id. So that I can see the log files at my home If there is any error.
How can I implement this in Unix shell programming.
Thanks... (4 Replies)
Discussion started by: deep_kol
4 Replies
4. Shell Programming and Scripting
Hi,
I have a lot of logfiles like fooYYYYMM.log (foo200301.log, foo200810.log) with lines like
YYYY-MM-DD TIMESTAMP,text1,text2,text3...
but I need (for postprocessing) the form fooYYYYMMDD.log (so foo200402.log becomes foo20040201.log, foo20040202.log...)
with unmodified content of lines.
... (1 Reply)
Discussion started by: clzupp
1 Replies
5. Shell Programming and Scripting
Hi All,
I have a peculiar problem. I will call a script from another script.
Script abc.ksh is called by ABC.ksh as
ABC.ksh abc.ksh
in abc.ksh I will create and redirect all the statements to log file.
ABC.ksh will also has a log file. I want all the logs generated in file abc in ABC... (5 Replies)
Discussion started by: javeed7
5 Replies
6. UNIX for Advanced & Expert Users
Hi there,
I want to rotate the logfiles which are located in /var/log/jboss/tomcat*
so I have created a file named as 'tomat' in /etc/logrotate.d/tomcat with the following content.
# cat /etc/logrotate.d/tomcat
/var/log/jboss/tomcat_access_log*.log {
daily
nocreate
... (2 Replies)
Discussion started by: skmdu
2 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I am working on a script and i am now been stuck in the mid of it..
My Script actually list the files consuming large disk it need compress the log files..
Here are the files
Hello_2009_10_22.log
Hello_2009_10_23.log.gz
Hello_2009_10_24.log.gz
Hello_2009_10_22.log... (2 Replies)
Discussion started by: sumithra
2 Replies
8. Shell Programming and Scripting
I have written script which is working in Home directory perfectly and also compressing log files and rotating correctly. But, when i try to run script for /var/log/ i am able to get compressed log files but not able to get rotation of compressed log files. Please suggest.
I am using below command... (5 Replies)
Discussion started by: VSom007
5 Replies
9. AIX
Hi Admins.
I have installed logrotate rpm on Aix 6.1.
After the installation of rpm, I don't find /etc/logrotate.conf file and /etc/logrotate.d dir .
The config file is located in /opt/freeware/etc/logrotate.conf.
When I ran
logrotate -v /opt/freeware/etc/logrotate.conf
I get below... (2 Replies)
Discussion started by: snchaudhari2
2 Replies
10. Shell Programming and Scripting
/etc/logrotate.d
-rwxr-xr-x 1 root root 263 Aug 28 23:17 httpd-stooffsprod
-rwxr-x--- 1 root root 273 Jul 10 2015 httpd-mwsi2hprodhist2
-rwxr-x--- 1 root root 261 Aug 11 17:28 httpd-mwsihist2
-rwxr-x--- 1 root root 269 Jul 20 2015 httpd-mwsiprodhist2
I need to figure out how to build a... (14 Replies)
Discussion started by: xgringo
14 Replies
LEARN ABOUT DEBIAN
wwwerrs
wwwerrs(8) System Manager's Manual wwwerrs(8)
NAME
wwwerrs - httpd log rotation for wwwstat
SYNOPSIS
wwwerrs [error log name]
DESCRIPTION
This program reads the httpd error_log logfile (or whatever file is given as the single argument) looking for failed requests (bad URLs)
which include a valid Referer (and thus can be tracked to the origin of the reference). It assumes that the error_log has been enhanced to
include the referer information (as in NCSA 1.4 and later).
The output is an HTML file that makes it easy to check references. The script should be edited to discard normal error messages, where
normal is dependent on your particular server.
SEE ALSO
crontab(1), httpd(1m), perl(1), wwwstat(1), splitlog(1), monthly(8), oldlog2new(8)
More info and the latest version of wwwerrs can be obtained from
http://www.ics.uci.edu/pub/websoft/wwwstat/
ftp://www.ics.uci.edu/pub/websoft/wwwstat/
If you have any suggestions, bug reports, fixes, or enhancements, please join the <wwwstat-users@ics.uci.edu> mailing list by sending e-
mail with "subscribe" in the subject of the message to the request address <wwwstat-users-request@ics.uci.edu>. The list is archived at
the above address.
18 November 2004 wwwerrs(8)