<?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: syslogd in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616463#M37628</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You have to replace "switch" with the facility name used by your switch.&lt;BR /&gt;&lt;BR /&gt;To check, look at your syslog.log for entries by your switch and identify the facility name representing your switch. The facility name should come after your hostname.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
    <pubDate>Mon, 19 Nov 2001 09:39:46 GMT</pubDate>
    <dc:creator>Steven Sim Kok Leong</dc:creator>
    <dc:date>2001-11-19T09:39:46Z</dc:date>
    <item>
      <title>syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616460#M37625</link>
      <description>Hi all,&lt;BR /&gt;I have a switch that it sends messages in my syslog.&lt;BR /&gt;But now, I wanna send these messages to an other file.&lt;BR /&gt;How can I set syslog.conf to do that?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Roberto</description>
      <pubDate>Mon, 19 Nov 2001 09:02:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616460#M37625</guid>
      <dc:creator>Roberto Gallis</dc:creator>
      <dc:date>2001-11-19T09:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616461#M37626</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You will need to first identify the logging facility and levels used by the switch in the form of facility.level.&lt;BR /&gt;&lt;BR /&gt;If it uses only eg. switch facility and level alert, then in your /etc/syslog.conf, you can specify:&lt;BR /&gt;&lt;BR /&gt;switch.alert /var/adm/switch.messages # use another file for logging&lt;BR /&gt;switch.alert @loghost.logdomain # loghost.logdomain is the name of your logging server which is running syslogd as well&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Mon, 19 Nov 2001 09:11:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616461#M37626</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-11-19T09:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616462#M37627</link>
      <description>I tried,&lt;BR /&gt;but I found the message in syslog&lt;BR /&gt;&lt;BR /&gt;unknown facility nale "switch": no such device or address&lt;BR /&gt;&lt;BR /&gt;How can I define it?</description>
      <pubDate>Mon, 19 Nov 2001 09:31:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616462#M37627</guid>
      <dc:creator>Roberto Gallis</dc:creator>
      <dc:date>2001-11-19T09:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616463#M37628</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You have to replace "switch" with the facility name used by your switch.&lt;BR /&gt;&lt;BR /&gt;To check, look at your syslog.log for entries by your switch and identify the facility name representing your switch. The facility name should come after your hostname.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Mon, 19 Nov 2001 09:39:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616463#M37628</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-11-19T09:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616464#M37629</link>
      <description>HI&lt;BR /&gt;I did that,&lt;BR /&gt;but syslog continue to send messages in syslog and not in the other files.&lt;BR /&gt;I found a document with the example of a cisco switch using the facility "local7" known by syslog. Using the host name does not work.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Nov 2001 13:57:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616464#M37629</guid>
      <dc:creator>Roberto Gallis</dc:creator>
      <dc:date>2001-11-19T13:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616465#M37630</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What I meant is that to identify the facility name, often the tag after the hostname reflected in syslog.log would give some clues as to what the facility name would be.&lt;BR /&gt;&lt;BR /&gt;In this case, your facility is LOCAL7. A number of applications may use this facility.&lt;BR /&gt;&lt;BR /&gt;To send logs to another file, you have to put into syslog.conf such as:&lt;BR /&gt;&lt;BR /&gt;local7.*    /var/adm/syslog/switch.messages&lt;BR /&gt;&lt;BR /&gt;Remember to restart your syslogd daemon for your changes to take effect.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Nov 2001 16:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616465#M37630</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-11-19T16:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: syslogd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616466#M37631</link>
      <description>The syslog facilities local0,local1...local7 are designed to do what you want. You can test that your syslog.conf file is working correctly by using logger as in:&lt;BR /&gt;&lt;BR /&gt;logger -t some-id-info -p local7.warn "This is a local7 warning"&lt;BR /&gt;tail /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;where -t will report whatever you want, typically it is the program's name or application.  Once logging is working, change /etc/syslog.conf, then ask syslog to re-read the config file and issue the command again. You should see local7 being logged to it's new location. Now try your application.</description>
      <pubDate>Mon, 19 Nov 2001 18:10:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslogd/m-p/2616466#M37631</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-11-19T18:10:10Z</dc:date>
    </item>
  </channel>
</rss>

