<?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: about local0-7 in syslog.conf in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180644#M322362</link>
    <description>Thanks for your answer in details Matti!&lt;BR /&gt;&lt;BR /&gt;yestoday my customer asked me help him seperate the ftp logs from syslog. I check some manuals, and find the solution: I added to entries in syslog.conf:&lt;BR /&gt;*.info;mail.none,local5.none    /var/adm/syslog/syslog.log&lt;BR /&gt;local5.info;mail.none           /var/adm/ftplog&lt;BR /&gt;then restart syslogd. it worked. all logs of FTP are written in /var/adm/ftplog, instead of in syslog.&lt;BR /&gt;In this example I use local5.  I think it is obvious that local5 relate to FTP service in syslog.conf. So I think local0, local1, 2, 3, 4, 6, and 7 should also relate to some other services in /etc/syslog.conf. Do you think so? If not, why we must use local5 in syslog.conf when we want to redirect FTP log to other file rather than syslog?&lt;BR /&gt;&lt;BR /&gt;Thanks for you great support. Waiting for your new reply.</description>
    <pubDate>Wed, 16 Apr 2008 07:41:44 GMT</pubDate>
    <dc:creator>wang, lei</dc:creator>
    <dc:date>2008-04-16T07:41:44Z</dc:date>
    <item>
      <title>about local0-7 in syslog.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180642#M322360</link>
      <description>hello:&lt;BR /&gt;I am a new guy, who first use this forum. my customer what to know what local0-local7 are in syslog.conf, and what services they represent. &lt;BR /&gt;&lt;BR /&gt;I tried to find the answer in many manuals, but can not get them explicitly. I have no idea. It is too complicated to me.&lt;BR /&gt;&lt;BR /&gt;Can you give me a clear explaination for them or provide me some documents about that?&lt;BR /&gt;&lt;BR /&gt;Thanks very much!</description>
      <pubDate>Wed, 16 Apr 2008 01:28:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180642#M322360</guid>
      <dc:creator>wang, lei</dc:creator>
      <dc:date>2008-04-16T01:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: about local0-7 in syslog.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180643#M322361</link>
      <description>By default, the "local0-local7" syslog facilities are not used: as the name "local" implies, the sysadmin can use them however necessary to fulfill any needs specific to the local system setup.&lt;BR /&gt;&lt;BR /&gt;Many syslog-using applications can be configured to use any syslog "facility" identifier, including any of the local0-local7 group. If an application uses syslog, the documentation of the application should explain how to do this.&lt;BR /&gt;&lt;BR /&gt;If you need to get the syslog messages of one particular program into a separate logfile, you can configure that program to use one of the "local" facility identifiers, and then set up a separate logfile for that facility in /etc/syslog.conf file. &lt;BR /&gt;&lt;BR /&gt;For example: you might have a program which normally logs using the "daemon" facility identifier. If that program has a problem, you wish to get all its syslog messages, including the "debug" level messages which you normally ignore. But if you specify "daemon.debug" in your syslog configuration, you'll get the debug information of _all_ programs using the "daemon" facility, which is not what you wanted. It will make your log files bigger than necessary and makes it more difficult to find whatever you're looking for in the logs.&lt;BR /&gt;&lt;BR /&gt;Instead, you set this particular program to use one of the unused "local" facility identifiers (local0, if nothing else has been set up). Then you can specify "local0.debug" in your syslog configuration to direct the messages of this particular program (only!) to a separate logfile.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 16 Apr 2008 06:50:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180643#M322361</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-04-16T06:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: about local0-7 in syslog.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180644#M322362</link>
      <description>Thanks for your answer in details Matti!&lt;BR /&gt;&lt;BR /&gt;yestoday my customer asked me help him seperate the ftp logs from syslog. I check some manuals, and find the solution: I added to entries in syslog.conf:&lt;BR /&gt;*.info;mail.none,local5.none    /var/adm/syslog/syslog.log&lt;BR /&gt;local5.info;mail.none           /var/adm/ftplog&lt;BR /&gt;then restart syslogd. it worked. all logs of FTP are written in /var/adm/ftplog, instead of in syslog.&lt;BR /&gt;In this example I use local5.  I think it is obvious that local5 relate to FTP service in syslog.conf. So I think local0, local1, 2, 3, 4, 6, and 7 should also relate to some other services in /etc/syslog.conf. Do you think so? If not, why we must use local5 in syslog.conf when we want to redirect FTP log to other file rather than syslog?&lt;BR /&gt;&lt;BR /&gt;Thanks for you great support. Waiting for your new reply.</description>
      <pubDate>Wed, 16 Apr 2008 07:41:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180644#M322362</guid>
      <dc:creator>wang, lei</dc:creator>
      <dc:date>2008-04-16T07:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: about local0-7 in syslog.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180645#M322363</link>
      <description>"In this example I use local5. I think it is obvious that local5 relate to FTP service in syslog.conf. So I think local0, local1, 2, 3, 4, 6, and 7 should also relate to some other services in /etc/syslog.conf."&lt;BR /&gt;&lt;BR /&gt;what made you conclude the local5 was related to FTP service?  I don't see the connection (nothing new there) but am willing to be enlightened.</description>
      <pubDate>Wed, 16 Apr 2008 17:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180645#M322363</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-04-16T17:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: about local0-7 in syslog.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180646#M322364</link>
      <description>OldSchool: It is not obvious that ftp uses local5, however it is true that local5 is the facility that ftp uses for syslog messages.&lt;BR /&gt;&lt;BR /&gt;For example, with wu-ftp on my system here is how it is defined:&lt;BR /&gt;&lt;BR /&gt;config.h:&lt;BR /&gt;&lt;BR /&gt;#define FACILITY LOG_LOCAL5 &lt;BR /&gt;&lt;BR /&gt;Otherwise the default log facility is:&lt;BR /&gt;FACILITY LOG_DAEMON&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 May 2008 20:44:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180646#M322364</guid>
      <dc:creator>Russ Docksteader</dc:creator>
      <dc:date>2008-05-08T20:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: about local0-7 in syslog.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180647#M322365</link>
      <description>All of the facilities and priorities are defined in the syslog man page. You can create a syslog message with any facility and priority using the logger command (man logger). ftpd indeed uses local5 and no, it is not documented. About the only way to track down what each program uses is to restart syslogd with the -v option. Now all your syslog entries will have the 2 hex digits that define how the message was presented to syslogd.&lt;BR /&gt; &lt;BR /&gt;The attached script will decode the hex digits for you so you can see what each message used when it was received by syslogd. Note that your syslog file must have the digits stored first.</description>
      <pubDate>Thu, 08 May 2008 23:42:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-local0-7-in-syslog-conf/m-p/4180647#M322365</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-05-08T23:42:30Z</dc:date>
    </item>
  </channel>
</rss>

