<?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 configuration in Operating System - Tru64 Unix</title>
    <link>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978033#M7313</link>
    <description>Ralf,&lt;BR /&gt;&lt;BR /&gt;I posted a question with subject: Message when someone su root.&lt;BR /&gt;&lt;BR /&gt;I tried to configure syslog but I received the same errors of David Logan with the difference that logger gives me answers and it writes on log files.&lt;BR /&gt;&lt;BR /&gt;This is my .conf:&lt;BR /&gt;&lt;BR /&gt;kern.debug              /var/adm/syslog.dated/current/kern.log&lt;BR /&gt;user.debug              /var/adm/syslog.dated/current/user.log&lt;BR /&gt;mail.debug              /var/adm/syslog.dated/current/mail.log&lt;BR /&gt;daemon.debug            /var/adm/syslog.dated/current/daemon.log&lt;BR /&gt;auth.notice             /var/adm/syslog.dated/current/auth.log&lt;BR /&gt;syslog.debug            /var/adm/syslog.dated/current/syslog.log&lt;BR /&gt;lpr.debug               /var/adm/syslog.dated/current/lpr.log&lt;BR /&gt;&lt;BR /&gt;msgbuf.err              /var/adm/crash/msgbuf.savecore&lt;BR /&gt;&lt;BR /&gt;kern.debug              /var/adm/messages&lt;BR /&gt;kern.debug              /dev/console&lt;BR /&gt;*.emerg                 *&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Ezra</description>
    <pubDate>Fri, 13 Jun 2003 12:58:06 GMT</pubDate>
    <dc:creator>Ezra V. Isacco Di Biase</dc:creator>
    <dc:date>2003-06-13T12:58:06Z</dc:date>
    <item>
      <title>syslog configuration</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978031#M7311</link>
      <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;I have a small problem with the syslog configuration on a V4.0F system.&lt;BR /&gt;&lt;BR /&gt;I wish to use the cron facility so I have the syslog.conf configured :&lt;BR /&gt;&lt;BR /&gt;kern.debug              /var/adm/syslog.dated/kern.log&lt;BR /&gt;user.debug              /var/adm/syslog.dated/user.log&lt;BR /&gt;mail.debug              /var/adm/syslog.dated/mail.log&lt;BR /&gt;daemon.debug            /var/adm/syslog.dated/daemon.log&lt;BR /&gt;auth.debug              /var/adm/syslog.dated/auth.log&lt;BR /&gt;syslog.debug            /var/adm/syslog.dated/syslog.log&lt;BR /&gt;#lpr.debug              /var/adm/syslog.dated/lpr.log&lt;BR /&gt;lpr.info                /var/adm/syslog.dated/lpr.log&lt;BR /&gt;&lt;BR /&gt;msgbuf.err              /var/adm/crash/msgbuf.savecore&lt;BR /&gt;&lt;BR /&gt;kern.debug              /var/adm/messages&lt;BR /&gt;kern.debug              /dev/console&lt;BR /&gt;cron.warning            /var/adm/syslog.dated/cron.log&lt;BR /&gt;*.emerg                 *&lt;BR /&gt;&lt;BR /&gt;I HUP syslog and no messages appear. To test my new facility (cron.warning) I have tried to use the logger command thus :&lt;BR /&gt;&lt;BR /&gt;logger -pcron.debug 'this is a test message from logger'&lt;BR /&gt;&lt;BR /&gt;I receive the following error message&lt;BR /&gt;logger: unknown facility name: cron&lt;BR /&gt;&lt;BR /&gt;As cron is mentioned in both the man pages for logger and also in /usr/include/sys/syslog_pri.h can anybody explain why this isn't working?&lt;BR /&gt;&lt;BR /&gt;Have I configured something incorrectly? or using it incorrectly?&lt;BR /&gt;&lt;BR /&gt;The file /var/adm/syslog.dated/cron.log has been created and has perms -rw-r-----&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 21 May 2003 02:26:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978031#M7311</guid>
      <dc:creator>David Logan_2</dc:creator>
      <dc:date>2003-05-21T02:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: syslog configuration</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978032#M7312</link>
      <description>Try &lt;BR /&gt;&lt;BR /&gt;# logger -p 72 4&lt;BR /&gt;&lt;BR /&gt;the log directory is specified as /var/adm/syslog.dated/cron.log, but the file should be within /var/adm/syslog.dated/current/&lt;BR /&gt;&lt;BR /&gt;stop and restart the syslog daemon to be sure the new configuration will be used.&lt;BR /&gt;</description>
      <pubDate>Wed, 21 May 2003 05:44:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978032#M7312</guid>
      <dc:creator>Ralf Puchner</dc:creator>
      <dc:date>2003-05-21T05:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: syslog configuration</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978033#M7313</link>
      <description>Ralf,&lt;BR /&gt;&lt;BR /&gt;I posted a question with subject: Message when someone su root.&lt;BR /&gt;&lt;BR /&gt;I tried to configure syslog but I received the same errors of David Logan with the difference that logger gives me answers and it writes on log files.&lt;BR /&gt;&lt;BR /&gt;This is my .conf:&lt;BR /&gt;&lt;BR /&gt;kern.debug              /var/adm/syslog.dated/current/kern.log&lt;BR /&gt;user.debug              /var/adm/syslog.dated/current/user.log&lt;BR /&gt;mail.debug              /var/adm/syslog.dated/current/mail.log&lt;BR /&gt;daemon.debug            /var/adm/syslog.dated/current/daemon.log&lt;BR /&gt;auth.notice             /var/adm/syslog.dated/current/auth.log&lt;BR /&gt;syslog.debug            /var/adm/syslog.dated/current/syslog.log&lt;BR /&gt;lpr.debug               /var/adm/syslog.dated/current/lpr.log&lt;BR /&gt;&lt;BR /&gt;msgbuf.err              /var/adm/crash/msgbuf.savecore&lt;BR /&gt;&lt;BR /&gt;kern.debug              /var/adm/messages&lt;BR /&gt;kern.debug              /dev/console&lt;BR /&gt;*.emerg                 *&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Ezra</description>
      <pubDate>Fri, 13 Jun 2003 12:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978033#M7313</guid>
      <dc:creator>Ezra V. Isacco Di Biase</dc:creator>
      <dc:date>2003-06-13T12:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: syslog configuration</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978034#M7314</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Maybe I didn't understood the problem correctly.&lt;BR /&gt;Anyway, the cron facility doesn't seem to be available in the source of logger.c&lt;BR /&gt;So, the errormessage is rather normal.&lt;BR /&gt;&lt;BR /&gt;As workaround, I suggest to use following line in /etc/syslog.conf&lt;BR /&gt;&lt;BR /&gt;local1.warning  /var/adm/syslog.dated/cron.log&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now the command&lt;BR /&gt;# logger -plocal1.warning "This works fine" &lt;BR /&gt;will generate the expected output in /var/adm/syslog.dated/current/cron.log&lt;BR /&gt;&lt;BR /&gt;If local1 is already used, you can use another facility from local[0-7]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe it's helpful&lt;BR /&gt;&lt;BR /&gt;Joris</description>
      <pubDate>Fri, 13 Jun 2003 13:39:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978034#M7314</guid>
      <dc:creator>Joris Denayer</dc:creator>
      <dc:date>2003-06-13T13:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: syslog configuration</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978035#M7315</link>
      <description>I tried your settings but when I restarted syslog the old entries were disapeared and there was the new one cron.log.&lt;BR /&gt;&lt;BR /&gt;logger string worked.&lt;BR /&gt;&lt;BR /&gt;I still don't understand.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot Joris&lt;BR /&gt;Ezra</description>
      <pubDate>Fri, 13 Jun 2003 14:34:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978035#M7315</guid>
      <dc:creator>Ezra V. Isacco Di Biase</dc:creator>
      <dc:date>2003-06-13T14:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: syslog configuration</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978036#M7316</link>
      <description>Ezra,&lt;BR /&gt;&lt;BR /&gt;Your old entries are not gone. &lt;BR /&gt;When the -HUP signal is send to the syslogd it will create a new date-directory an make  a symbolic link to the "current" directory.&lt;BR /&gt;&lt;BR /&gt;here you see a part of /var/adm/syslog.dated.&lt;BR /&gt;&lt;BR /&gt;drwxr-xr-x   2 root     adm         8192 Jun 12 12:15 12-Jun-12:15&lt;BR /&gt;drwxr-xr-x   2 root     adm         8192 Jun 13 12:15 13-Jun-12:15&lt;BR /&gt;drwxr-xr-x   2 root     adm         8192 Jun 13 16:11 13-Jun-16:11&lt;BR /&gt;drwxr-xr-x   2 root     adm         8192 Jun 13 16:27 13-Jun-16:27&lt;BR /&gt;lrwxr-xr-x   1 root     adm           12 Jun 13 16:27 current -&amp;gt; 13-Jun-16:27&lt;BR /&gt;&lt;BR /&gt;You can see that syslogd as been -HUPped at 16:27 and just before at 16:21.&lt;BR /&gt;&lt;BR /&gt;So, you will find your old entries in the directory that has been created before the one that is "symlinked" to current.&lt;BR /&gt;&lt;BR /&gt;Joris</description>
      <pubDate>Fri, 13 Jun 2003 14:56:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/syslog-configuration/m-p/2978036#M7316</guid>
      <dc:creator>Joris Denayer</dc:creator>
      <dc:date>2003-06-13T14:56:04Z</dc:date>
    </item>
  </channel>
</rss>

