<?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 create new syslog.log in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-syslog-log/m-p/4922760#M408280</link>
    <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I have the syslog.log file, but I want to rotate the file. I want to create the OLDsyslog.... and the syslog.log new.&lt;BR /&gt;&lt;BR /&gt;Some one know how to do it?&lt;BR /&gt;&lt;BR /&gt;Thanks in advanced</description>
    <pubDate>Thu, 01 Sep 2005 04:40:42 GMT</pubDate>
    <dc:creator>RNC</dc:creator>
    <dc:date>2005-09-01T04:40:42Z</dc:date>
    <item>
      <title>create new syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-syslog-log/m-p/4922760#M408280</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I have the syslog.log file, but I want to rotate the file. I want to create the OLDsyslog.... and the syslog.log new.&lt;BR /&gt;&lt;BR /&gt;Some one know how to do it?&lt;BR /&gt;&lt;BR /&gt;Thanks in advanced</description>
      <pubDate>Thu, 01 Sep 2005 04:40:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-syslog-log/m-p/4922760#M408280</guid>
      <dc:creator>RNC</dc:creator>
      <dc:date>2005-09-01T04:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: create new syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-syslog-log/m-p/4922761#M408281</link>
      <description>Hi&lt;BR /&gt;&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;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Thu, 01 Sep 2005 04:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-syslog-log/m-p/4922761#M408281</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2005-09-01T04:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: create new syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-syslog-log/m-p/4922762#M408282</link>
      <description>Just do as,&lt;BR /&gt;&lt;BR /&gt;cp /var/adm/syslog/syslog.log /var/adm/syslog/OLDsyslog.log&lt;BR /&gt;&amp;gt; /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;or restart syslogd in /sbin/init.d/&lt;BR /&gt;&lt;BR /&gt;hth.&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Sep 2005 04:51:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-syslog-log/m-p/4922762#M408282</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-09-01T04:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: create new syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-syslog-log/m-p/4922763#M408283</link>
      <description>Thanks. Lets is ok like victor tell me.</description>
      <pubDate>Thu, 01 Sep 2005 04:55:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-syslog-log/m-p/4922763#M408283</guid>
      <dc:creator>RNC</dc:creator>
      <dc:date>2005-09-01T04:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: create new syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-syslog-log/m-p/4922764#M408284</link>
      <description>You can use either a this Logrotate software&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/logrotate-2.5/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/logrotate-2.5/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or use some procedures that you can find in this links:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=57218" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=57218&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Consider also that this command&lt;BR /&gt;sbin/init.d/syslogd stop &amp;amp; /sbin/init.d/syslogd&lt;BR /&gt;&lt;BR /&gt;will rotate the syslog.log file; for example you could use a cron job that every 10 mins checks the syslog file lenght and then rotates the log.&lt;BR /&gt;&lt;BR /&gt;In attachment I put a script of the great Bill Hassel to manage log rotation ( thank you Bill for your teachments! )&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Alex</description>
      <pubDate>Thu, 01 Sep 2005 05:02:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-syslog-log/m-p/4922764#M408284</guid>
      <dc:creator>Alessandro Pilati</dc:creator>
      <dc:date>2005-09-01T05:02:11Z</dc:date>
    </item>
  </channel>
</rss>

