<?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 and facility level in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847929#M773079</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;The question is that How to show facility level which is similar to Solaris?&lt;BR /&gt; &lt;BR /&gt;# logger -p user.info "This is a test"&lt;BR /&gt;&lt;BR /&gt;===================&lt;BR /&gt;Aug 23 3:14:11 xxx-hp root: This is a test&lt;BR /&gt;===================&lt;BR /&gt;&lt;BR /&gt;Here is Solaris running example.&lt;BR /&gt;&lt;BR /&gt;# logger -p user.info "This is a test"&lt;BR /&gt;===================&lt;BR /&gt;Aug 23 3:22:41 xxxx root: [ID 702911 user.info] This is a test&lt;BR /&gt;===================&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can see ID and "use.info"&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-tash S&lt;BR /&gt;</description>
    <pubDate>Tue, 22 Aug 2006 23:21:17 GMT</pubDate>
    <dc:creator>tash S</dc:creator>
    <dc:date>2006-08-22T23:21:17Z</dc:date>
    <item>
      <title>syslog and facility level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847925#M773075</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;Our application prints the syslog the following format on Solaris.&lt;BR /&gt;aaa [xxxx user.info] zzz&lt;BR /&gt;&lt;BR /&gt;But when we try to migrate the application on HP-UX 11i from Solaris, the syslog can not generate the facility level that means like "use.info".&lt;BR /&gt;&lt;BR /&gt;We add the syslog.conf and &lt;BR /&gt;/sbin/init.d/syslogd stop&lt;BR /&gt;/sbin/init.d/syslogd start&lt;BR /&gt;&lt;BR /&gt;==================&lt;BR /&gt;...&lt;BR /&gt;*.err                   /var/adm/syslog/syslog.log&lt;BR /&gt;*.info                  /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;==================&lt;BR /&gt;&lt;BR /&gt;Is this the same mechanism between Solaris and HP-UX 11i?&lt;BR /&gt;or do we miss something procedure ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-tash S&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Aug 2006 06:06:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847925#M773075</guid>
      <dc:creator>tash S</dc:creator>
      <dc:date>2006-08-22T06:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: syslog and facility level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847926#M773076</link>
      <description>Hi,&lt;BR /&gt;what happens in the /var/adm/syslog/syslog.log file if you do:&lt;BR /&gt;logger -p user.info -t USER_INFO TESTINGINFO&lt;BR /&gt;logger -p user.warn -t USER_WARN TESTWARNING</description>
      <pubDate>Tue, 22 Aug 2006 06:29:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847926#M773076</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-08-22T06:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: syslog and facility level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847927#M773077</link>
      <description>The facility and priority names are documented in the man page for syslog. There is no facility called "use". You probably mean "user.info" which you can generate using logger and see the result in syslog.log:&lt;BR /&gt; &lt;BR /&gt;logger -p user.info "This is a test"&lt;BR /&gt; &lt;BR /&gt;Here are the facility names in HP-UX:&lt;BR /&gt;KERN&lt;BR /&gt;USER &lt;BR /&gt;MAIL&lt;BR /&gt;DAEMON&lt;BR /&gt;AUTH &lt;BR /&gt;SYSLOG&lt;BR /&gt;LPR  &lt;BR /&gt;NEWS&lt;BR /&gt;UUCP &lt;BR /&gt;CRON&lt;BR /&gt;LOCAL0-7&lt;BR /&gt; &lt;BR /&gt;And these are the priority names:&lt;BR /&gt;EMERG&lt;BR /&gt;ALERT    &lt;BR /&gt;CRIT    &lt;BR /&gt;ERR     &lt;BR /&gt;WARNING  &lt;BR /&gt;NOTICE   &lt;BR /&gt;INFO     &lt;BR /&gt;DEBUG    &lt;BR /&gt;</description>
      <pubDate>Tue, 22 Aug 2006 08:15:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847927#M773077</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-08-22T08:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: syslog and facility level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847928#M773078</link>
      <description>Hi Tash&lt;BR /&gt;&lt;BR /&gt;Between facitily level and logging file HAVE to use TABs ONLY; spaces will not work.&lt;BR /&gt;Also sendig a -HUP to syslogd (or starting/stopping as you did) after any change in the sys.conf file is neccesary.&lt;BR /&gt;The concept is identical between the two UNIX flavors.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Florin &lt;BR /&gt;</description>
      <pubDate>Tue, 22 Aug 2006 22:25:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847928#M773078</guid>
      <dc:creator>florin_10</dc:creator>
      <dc:date>2006-08-22T22:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: syslog and facility level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847929#M773079</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;The question is that How to show facility level which is similar to Solaris?&lt;BR /&gt; &lt;BR /&gt;# logger -p user.info "This is a test"&lt;BR /&gt;&lt;BR /&gt;===================&lt;BR /&gt;Aug 23 3:14:11 xxx-hp root: This is a test&lt;BR /&gt;===================&lt;BR /&gt;&lt;BR /&gt;Here is Solaris running example.&lt;BR /&gt;&lt;BR /&gt;# logger -p user.info "This is a test"&lt;BR /&gt;===================&lt;BR /&gt;Aug 23 3:22:41 xxxx root: [ID 702911 user.info] This is a test&lt;BR /&gt;===================&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can see ID and "use.info"&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-tash S&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Aug 2006 23:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847929#M773079</guid>
      <dc:creator>tash S</dc:creator>
      <dc:date>2006-08-22T23:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: syslog and facility level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847930#M773080</link>
      <description>The syslogd man page will help. The option is -v which will add the facility and priority level in front of the hostname for each message. NOTE: This is a simple 2-character code like 6D which means: DAEMON:INFO or 2A which is KERN:CRIT. You can manually decode the these characters with the syslog man page or use the attached script. It reports only those lines in the file that have the codes added. It will also read any other file including a compressed syslog file.</description>
      <pubDate>Wed, 23 Aug 2006 09:47:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847930#M773080</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-08-23T09:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: syslog and facility level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847931#M773081</link>
      <description>The following is an extract from &lt;A href="http://docs.hp.com/en/B2355-60105/logger.1.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60105/logger.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Send output from the users command (see users(1) to the syslogd daemon, marked as level info and facility local0. The message is tagged with the string USERS: &lt;BR /&gt;&lt;BR /&gt;users | logger -p local0.info -t USERS &lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;florin</description>
      <pubDate>Tue, 19 Sep 2006 22:40:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-and-facility-level/m-p/3847931#M773081</guid>
      <dc:creator>florin_10</dc:creator>
      <dc:date>2006-09-19T22:40:20Z</dc:date>
    </item>
  </channel>
</rss>

