<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: syslog facility code &amp;quot;P&amp;quot; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888139#M102385</link>
    <description>Here's a quick script that will decode the facility/priority codes something like this: &lt;BR /&gt;&lt;BR /&gt;Jan 23 14:58:57 SYSLOG:INFO syslogd: restart &lt;BR /&gt;Jan 23 14:59:02 USER:WARNING myTag: Message from logger &lt;BR /&gt;Jan 23 18:27:28 DAEMON:INFO xntpd[905]: synchronized to ... &lt;BR /&gt;Jan 23 19:33:05 LOCAL5:INFO ftpd[13926]: FTP LOGIN FROM ob6000 ...</description>
    <pubDate>Fri, 24 Jan 2003 00:39:00 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2003-01-24T00:39:00Z</dc:date>
    <item>
      <title>syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888128#M102374</link>
      <description>We are seeing messages in our syslog file with facility code P. Looking at the man page, there is no facility defined for that code. So what is it? We're on 11.11 btw.&lt;BR /&gt;&lt;BR /&gt;(These messages are coming from a Cisco router. We'd like to send these messages to another log file by modifying syslog.conf, but I need to know the facility NAME for the code of P so I can add the proper line to syslog.conf)&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Wed, 22 Jan 2003 15:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888128#M102374</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2003-01-22T15:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888129#M102375</link>
      <description>*bump*&lt;BR /&gt;&lt;BR /&gt;Surely someone will accept the challenge....</description>
      <pubDate>Thu, 23 Jan 2003 16:53:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888129#M102375</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2003-01-23T16:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888130#M102376</link>
      <description>attach the message!&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Thu, 23 Jan 2003 16:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888130#M102376</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2003-01-23T16:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888131#M102377</link>
      <description>Hi Mark:&lt;BR /&gt;&lt;BR /&gt;For grins-and-giggles, see if your '/usr/include/syslog.h' offers any definition.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 23 Jan 2003 17:13:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888131#M102377</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-01-23T17:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888132#M102378</link>
      <description>Bill, &lt;BR /&gt;&lt;BR /&gt;Attached are two sample syslog messages. &lt;BR /&gt;&lt;BR /&gt;James,&lt;BR /&gt;&lt;BR /&gt;It says "messages thru 15 are reserved for system use" then begins listing codes for Q thru Z.</description>
      <pubDate>Thu, 23 Jan 2003 17:20:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888132#M102378</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2003-01-23T17:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888133#M102379</link>
      <description>Looking at the section 3C syslog manpage, I have&lt;BR /&gt;&lt;BR /&gt;LOG_KERN    A   &lt;BR /&gt;LOG_USER    B   &lt;BR /&gt;LOG_MAIL    C   &lt;BR /&gt;LOG_DAEMON  D  &lt;BR /&gt;LOG_AUTH    E   &lt;BR /&gt;LOG_SYSLOG  F   &lt;BR /&gt;LOG_LPR     G   &lt;BR /&gt;LOG_NEWS    H   &lt;BR /&gt;LOG_UUCP    I   &lt;BR /&gt;LOG_CRON    J   &lt;BR /&gt;LOCAL0-7    Q-X &lt;BR /&gt;&lt;BR /&gt;This is on 11.11 with patch  PHCO_23413&lt;BR /&gt;&lt;BR /&gt;The latest patch is PHCO_27772 (link below), but the document doesn't mention a facility code of P&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www4.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_27772&amp;amp;context=hpux:800:11:11" target="_blank"&gt;http://www4.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_27772&amp;amp;context=hpux:800:11:11&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;What patch level are you on?</description>
      <pubDate>Thu, 23 Jan 2003 17:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888133#M102379</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2003-01-23T17:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888134#M102380</link>
      <description>PHCO_26522</description>
      <pubDate>Thu, 23 Jan 2003 17:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888134#M102380</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2003-01-23T17:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888135#M102381</link>
      <description>Hi (again) Mark:&lt;BR /&gt;&lt;BR /&gt;Patch PHCO_23251 (contained in PHCO_24915) offers this note"&lt;BR /&gt;&lt;BR /&gt;( SR:8606165810 CR:JAGad35101 )&lt;BR /&gt;Man page to describe all the level and facilities provided by syslogd.&lt;BR /&gt;&lt;BR /&gt;You might try downloading PHCO_24915 and installing it, or if you prefer, simply downloading and tar-extracting the man page (usr/share/man/man3.Z/syslog.3c).&lt;BR /&gt;&lt;BR /&gt;I suspect that "P" is "Priority".&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jan 2003 17:34:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888135#M102381</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-01-23T17:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888136#M102382</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;Are you implying then that I can add a line like:&lt;BR /&gt;&lt;BR /&gt;Priority.*    /tmp/cisco.log&lt;BR /&gt;&lt;BR /&gt;to syslog.conf to get these messages sent to a different log file? That's what I'm after, ultimately...</description>
      <pubDate>Thu, 23 Jan 2003 17:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888136#M102382</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2003-01-23T17:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888137#M102383</link>
      <description>Hi Mark:&lt;BR /&gt;&lt;BR /&gt;I'm saying that downloading the patch and extracting is quick and may provide the definition you require.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 23 Jan 2003 17:48:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888137#M102383</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-01-23T17:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888138#M102384</link>
      <description>There is no such facility 'P' syslogd defines the known facilities and priorities but the syslog entry does not indicate either the facility or priority used by the router. The code P is probably the encoded code mentioned in the man page for syslog:&lt;BR /&gt;&lt;BR /&gt;Priority: &lt;BR /&gt;LOG_EMERG    0&lt;BR /&gt;LOG_ALERT    1&lt;BR /&gt;LOG_CRIT     2&lt;BR /&gt;LOG_ERR      3&lt;BR /&gt;LOG_WARNING  4&lt;BR /&gt;LOG_NOTICE   5&lt;BR /&gt;LOG_INFO     6&lt;BR /&gt;LOG_DEBUG    7&lt;BR /&gt; &lt;BR /&gt;Facility: &lt;BR /&gt;LOG_KERN    A    &lt;BR /&gt;LOG_USER    B&lt;BR /&gt;LOG_MAIL    C&lt;BR /&gt;LOG_DAEMON  D&lt;BR /&gt;LOG_AUTH    E&lt;BR /&gt;LOG_SYSLOG  F&lt;BR /&gt;LOG_LPR     G&lt;BR /&gt;LOG_NEWS    H&lt;BR /&gt;LOG_UUCP    I&lt;BR /&gt;LOG_CRON    J&lt;BR /&gt;LOCAL0-7    Q-X&lt;BR /&gt;&lt;BR /&gt;Note that code K thru P are undefined and from the strings inside syslogd, it looks like there would be an error message when an undefined facility or priority name was used.&lt;BR /&gt;&lt;BR /&gt;To find out what facility and priority code is being used, syslogd must be restarted with the -v option. This can be done by manually killing syslogd and restarting with: /usr/sbin/syslogd -D -v&lt;BR /&gt;or permanently changed by editing /etc/rc.config.d/syslogd and then using the standard /sbin/init.d/syslogd stop (and then start).&lt;BR /&gt;&lt;BR /&gt;The entries in the log file(s) will now look like:&lt;BR /&gt;&lt;BR /&gt;Jan 23 14:59:02 4B:h60 TestMessage from logger&lt;BR /&gt;&lt;BR /&gt;In this case, 4b:h60 means:&lt;BR /&gt;&lt;BR /&gt;4=warn&lt;BR /&gt;B=user&lt;BR /&gt;h60=hostname&lt;BR /&gt;&lt;BR /&gt;Leaving the -v option turned on is not a bad idea as you select new files to sort out the messages.</description>
      <pubDate>Thu, 23 Jan 2003 20:04:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888138#M102384</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-01-23T20:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888139#M102385</link>
      <description>Here's a quick script that will decode the facility/priority codes something like this: &lt;BR /&gt;&lt;BR /&gt;Jan 23 14:58:57 SYSLOG:INFO syslogd: restart &lt;BR /&gt;Jan 23 14:59:02 USER:WARNING myTag: Message from logger &lt;BR /&gt;Jan 23 18:27:28 DAEMON:INFO xntpd[905]: synchronized to ... &lt;BR /&gt;Jan 23 19:33:05 LOCAL5:INFO ftpd[13926]: FTP LOGIN FROM ob6000 ...</description>
      <pubDate>Fri, 24 Jan 2003 00:39:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888139#M102385</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-01-24T00:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888140#M102386</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;Thanks for the script. &lt;BR /&gt;&lt;BR /&gt;I've decided my best bet is to figure out if I can get the Cisco gear generating these syslog messages to use a facility code bewtween Q and Z, so I can then do something useful in syslog.conf with those messages. A facility code of P just isn't going to be usable.&lt;BR /&gt;&lt;BR /&gt;Thanks for all who helped...</description>
      <pubDate>Fri, 24 Jan 2003 14:12:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888140#M102386</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2003-01-24T14:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888141#M102387</link>
      <description>Looking into things further;&lt;BR /&gt;&lt;BR /&gt;The Cisco router should be configured to use your HP server as the syslog server with the command&lt;BR /&gt;&lt;BR /&gt;logging XXX.XXX.XXX.XXX&lt;BR /&gt;&lt;BR /&gt;where XXX... is the IP address of the HP server.&lt;BR /&gt;&lt;BR /&gt;Normally, Cisco equipment transmits its messages as type "Local7", which would give them a facility code of X.  This suggests to me that either there is some issue in the config on the router, or possibly something unusual about the IOS release that is loaded on it.&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jan 2003 14:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888141#M102387</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2003-01-24T14:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: syslog facility code "P"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888142#M102388</link>
      <description>Thanks! I'll see if we can get our Cisco back it's "default" behavior of X, not P.</description>
      <pubDate>Tue, 28 Jan 2003 22:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-facility-code-quot-p-quot/m-p/2888142#M102388</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2003-01-28T22:06:38Z</dc:date>
    </item>
  </channel>
</rss>

