FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 11-10-2008, 06:13 PM
"De Vries, Timothy"
 
Default facility and priority not printing in syslog

Hi,

We are running RHEL 3. From what I can see in the man pages RHEL should be able to print the facility.priority in the syslog message, however all of the messages in the log don't contain any information on the facility or (especially) the priority. For example, in other versions of unix we run, the logging prints the priority as:

Nov 8 06:38:29 my.host.com locks_arcstn[24097]: [ID 912228 daemon.error] Msg #26002, Level: 16, State: 1.

Where

facility = daemon
priority = error = syslog priority 3

Therefore it is very straightforward to grep all messages of a certain priority and below.

In contrast our RHEL prints a sample like this:

Nov 8 07:33:30 my.host.name.com xinetd[2326]: START: uptmagnt pid=10502 from=1.1.1.1

Devoid of any priority or facility that I can ascertain. I have looked at the man pages but did not see any option or switch for syslogd, syslog.conf or /etc/sysconfig/syslog. Does anyone have any clue how this might be accomplished? The few times I called RedHat I couldn't get an answer for this one.

Thanks,

Tim De Vries



This e-mail and any attachments may contain
confidential and privileged information. If you are
not the intended recipient, please notify the sender
immediately by return e-mail, delete this e-mail
and destroy any copies. Any dissemination or use
of this information by a person other than the
intended recipient is unauthorized and may be
illegal. Unless otherwise stated, opinions expressed
in this e-mail are those of the author and are not
endorsed by the author's employer.

Le présent message, ainsi que tout fichier qui y est
joint, est envoyé * l'intention exclusive de son ou
de ses destinataires; il est de nature confidentielle
et peut constituer une information privilégiée. Nous
avertissons toute personne autre que le destinataire
prévu que tout examen, réacheminement, impression, copie,
distribution ou autre utilisation de ce message et de
tout fichier qui y est joint est strictement interdit.
Si vous n'êtes pas le destinataire prévu, veuillez en
aviser immédiatement l'expéditeur par retour de courriel
et supprimer ce message et tout document joint de votre système.
Sauf indication contraire, les opinions exprimées dans le présent
message sont celles de l’auteur et ne sont pas avalisées par
l’employeur de l’auteur.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 11-12-2008, 10:44 PM
"Marcos Aurelio Rodrigues"
 
Default facility and priority not printing in syslog

Maybe, if you install syslog-ng, it will solve this problem for you.


[]s
Marcos

2008/11/10 De Vries, Timothy <Timothy.DeVries@bmo.com>

> Hi,
>
> We are running RHEL 3. From what I can see in the man pages RHEL should be
> able to print the facility.priority in the syslog message, however all of
> the messages in the log don't contain any information on the facility or
> (especially) the priority. For example, in other versions of unix we run,
> the logging prints the priority as:
>
> Nov 8 06:38:29 my.host.com locks_arcstn[24097]: [ID 912228 daemon.error]
> Msg #26002, Level: 16, State: 1.
>
> Where
>
> facility = daemon
> priority = error = syslog priority 3
>
> Therefore it is very straightforward to grep all messages of a certain
> priority and below.
>
> In contrast our RHEL prints a sample like this:
>
> Nov 8 07:33:30 my.host.name.com xinetd[2326]: START: uptmagnt pid=10502
> from=1.1.1.1
>
> Devoid of any priority or facility that I can ascertain. I have looked at
> the man pages but did not see any option or switch for syslogd, syslog.conf
> or /etc/sysconfig/syslog. Does anyone have any clue how this might be
> accomplished? The few times I called RedHat I couldn't get an answer for
> this one.
>
> Thanks,
>
> Tim De Vries
>
>
>
>
> This e-mail and any attachments may contain
> confidential and privileged information. If you are
> not the intended recipient, please notify the sender
> immediately by return e-mail, delete this e-mail
> and destroy any copies. Any dissemination or use
> of this information by a person other than the
> intended recipient is unauthorized and may be
> illegal. Unless otherwise stated, opinions expressed
> in this e-mail are those of the author and are not
> endorsed by the author's employer.
>
> Le prsent message, ainsi que tout fichier qui y est
> joint, est envoy l'intention exclusive de son ou
> de ses destinataires; il est de nature confidentielle
> et peut constituer une information privilgie. Nous
> avertissons toute personne autre que le destinataire
> prvu que tout examen, racheminement, impression, copie,
> distribution ou autre utilisation de ce message et de
> tout fichier qui y est joint est strictement interdit.
> Si vous n'tes pas le destinataire prvu, veuillez en
> aviser immdiatement l'expditeur par retour de courriel
> et supprimer ce message et tout document joint de votre systme.
> Sauf indication contraire, les opinions exprimes dans le prsent
> message sont celles de l'auteur et ne sont pas avalises par
> l'employeur de l'auteur.
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
========================================
Marcos Aurelio Rodrigues
<deigratia33@gmail.com>
CCNA, MCSO, Security+
Mirabilia laudo semprer, Dei
========================================
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 01:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org