[syslog-ng]logging to file and remote host

Atif Ghaffar syslog-ng@lists.balabit.hu
Fri, 29 Aug 2003 02:01:51 +0200


hi all,

I am not yet a syslog-ng user. I would like to know if it is possible to 
do what I want with standard syslogd and if not then with syslog-ng

On HP-UX 11.00

I want to log messages to a file and to remote host.
Is that possible with  syslogd?

I tried something like
mail.* /var/adm/syslog/mail.log

and it works

I tried

mail.* @LOGHOST

and it works

If I put both lines then only one is used.

How can I log to a file and also to LOGHOST?

If it is not possible with syslog and is possible with syslog-ng, then 
please let me know so I can continue the reading of the manuals.

best regards and thanks

Atif Ghaffar