2008/3/12, Rainer Gerhards <[EMAIL PROTECTED]>: > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:rsyslog- > > [EMAIL PROTECTED] On Behalf Of Maurizio Rottin > > > Sent: Wednesday, March 12, 2008 2:37 PM > > To: rsyslog-users > > Subject: Re: [rsyslog] rsyslog with apache and per vhost log > > > > 2008/3/12, Rainer Gerhards <[EMAIL PROTECTED]>: > > > > mmmmm...i'll check that better but at a glance it seems a heavy > > > > process with big logs. > > > > > > > > > Sorry, I don't really understand what you mean ;) But the problem is > > > that I probably do not really know how what you do with logger > > really > > > works. It is part of the apache config, is this right? Maybe you > > could > > > post a full config sample? > > > > > but i did... > > this is the log part in the <virtualhost> directive > > ErrorLog "|/usr/bin/logger -p local5.err -t error_www.mysite.com" > > CustomLog "|/usr/bin/logger -p local6.info -t www.mysite.com " > > "combined" > > > > in practice i pass the ErrorLog and CustomLog to /usr/bin/logger with > > facility "-p local*.xxx" with tag "-t www.mysite.com" > > > > then i can use the tag to split logs by website in the remote rsyslog > > machine ;) > > > Ah, OK, I didn't realize this was actual Apache config. So your original > question > > > > just one question, do you know any way to pass the website name in > > "/usr/bin/logger -p local5.err -t error_www.mysite.com", even using an > > other program...i know only logger... > > > was how you could use the same apache config command for each log, so > that you don't need to have separate apache config statements for each > virtual server? > > Please bear with me if I am getting it wrong, I probably have too much > rsyslog on my mind. I am trying to help but I don't get a grip at what > the real problem is... > >
Not really...i don't want to use logger, it becomes a heavy process under high traffic load....but this should be a question for the apache ML... -- mr _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog

