Hi all – I have a webfarm using a common httpd.conf for four machines connected to a SAN. I would
like to find a way to name the logfiles with the hostname
to identify what machine they came from. I tried passing a shell variable like below; CustomLog "| /usr/sbin/rotatelogs
/var/log/httpd/$HOSTNAME.%Y%m%d 86400" combined CustomLog "| /usr/sbin/rotatelogs
/var/log/httpd/%V.%Y%m%d 86400" combined but it didn’t
work,. I get the literal not the variable. The reason is I am using webtrends
to for log analysis and they can’t have the same logfile
name. When I upload them they are overwriting each other because they have the
same name. Thanks for any help Michael |
- [EMAIL PROTECTED] Log File Name Michael Elias
- Re: [EMAIL PROTECTED] Log File Name Bill Jones
- Re: [EMAIL PROTECTED] Log File Name Brian Rectanus
- RE: [EMAIL PROTECTED] Log File Name Michael Elias
- RE: [EMAIL PROTECTED] Log File Name Michael Elias
- [EMAIL PROTECTED] combining logins David Salisbury
- Re: [EMAIL PROTECTED] combining logins Joshua Slive
- Re: [EMAIL PROTECTED] combining logins David Salisbury