[syslog-ng]chain_hostname(yes) complicates use of $HOST

Jernej Horvat j@elite.org
Sat, 23 Sep 2000 20:02:14 +0200


On Wed, Sep 20, 2000 at 07:30:07AM -0400, John A. Parker wrote:

> Sep 20 02:08:22 aaaa.bbbb.cornell.edu/Message forwarded from aaaa: 
> sshd[40128]: log: ...
> (To be honest, I think the second format looks better anyway.)

yes. ;-)

What happens when you use 

file("$HOST/$PROGRAM/$YEAR_$MONTH" create_dirs(yes));

with your "fix" ?
Will i still get logs from "Message" ? (yes...running AIX. :-/)
--