LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   syslog and hostname (https://www.linuxquestions.org/questions/linux-networking-3/syslog-and-hostname-578274/)

rcainc 08-19-2007 06:56 PM

syslog and hostname
 
Hi all,

I have a little problem with the syslog configuration.
I configure it to send all log to a log server.
Everything work fine but syslog send the ip has hostname, and i would rather syslog to send the hostname.
What should i do ?
Thank you for reading.

MS3FGX 08-19-2007 07:08 PM

Which part of the configuration are you specifically referring to?

On the client side, you should be able to specify the log server in /etc/syslog.conf as:

Code:

*.*        @hostname

rcainc 08-19-2007 07:56 PM

Yes,
i did that and that work well, but in the server (Kiwi Syslog Daemon),
the hostname of the sender is the ip not the hostname.


All times are GMT -5. The time now is 09:19 AM.