Linux / UNIX Tech Support Forum
This is a discussion on syslog message format within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi, I need to send log message to syslogd, on RHEL. The message turns out to include the originator's IP ...
|
|||||||
| CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi, I need to send log message to syslogd, on RHEL.
The message turns out to include the originator's IP address in the header: Feb 9 11:12:48 172.26.14.238 09/02/09 11:12:48,245 INFO WindowsEvent: 508 Load Balancer Starting Whilst I want it to show the originator's hostname: Feb 9 11:12:48 ows01 09/02/09 11:12:48,245 INFO WindowsEvent: 508 Load Balancer Starting Is there an easy way to configure this? |
| Sponsored Links | ||
|
|
|
||||
|
syslogd only logs message text send by an application. In your case you need to configure your application (LB). Can you configure your app to send specific log message? On a related not on UNIX / Linux you can use logger command to log any message to /var/log/messages (default) from a shell script.
__________________
Vivek Gite Linux Evangelist |
![]() |
| Tags |
| configuration , hostname , syslog |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Syslog redirect | jerelev | Networking, Firewalls and Security | 1 | 28-10-2008 08:24 PM |
| Syslog-ng Documentation | kvsmanean | Ubuntu / Debian | 1 | 13-06-2008 01:20 PM |
| How to install tar format software in RHEL 4.0 | mannrj45 | Linux software | 8 | 26-09-2007 05:57 PM |
| how to change the format of multiple files in different directories | dustcloud4 | Shell scripting | 0 | 05-06-2007 03:03 AM |
| How do I configure Linux as central syslog server? | jerry | Linux software | 3 | 27-07-2005 10:21 PM |