<?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: logrotate in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/logrotate/m-p/4459305#M37470</link>
    <description>Can you help me how to customize the syslog for the /var/log/messages file.&lt;BR /&gt;</description>
    <pubDate>Tue, 14 Jul 2009 13:45:56 GMT</pubDate>
    <dc:creator>csreenivas</dc:creator>
    <dc:date>2009-07-14T13:45:56Z</dc:date>
    <item>
      <title>logrotate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/logrotate/m-p/4459303#M37468</link>
      <description>Hi&lt;BR /&gt;I am new to red hat linux.&lt;BR /&gt;I have to rotate the /var/log/messages files "daily" and move the log files to archive directory and keep the log files for 4 weeks.&lt;BR /&gt;Can anyone of help me how to modify the /etc/logrotate.conf&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sreenivas.</description>
      <pubDate>Tue, 14 Jul 2009 11:07:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/logrotate/m-p/4459303#M37468</guid>
      <dc:creator>csreenivas</dc:creator>
      <dc:date>2009-07-14T11:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: logrotate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/logrotate/m-p/4459304#M37469</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Doing it without logrotate.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-1-syslog/" target="_blank"&gt;http://www.ducea.com/2006/06/06/rotating-linux-log-files-part-1-syslog/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Shalom,&lt;BR /&gt;&lt;BR /&gt;take a look at the files in /etc/logrotate.d&lt;BR /&gt;&lt;BR /&gt;You see a file called syslog.&lt;BR /&gt;&lt;BR /&gt;You may wish to duplicate it and make one just for messages&lt;BR /&gt;&lt;BR /&gt;# system-specific logs may be also be configured here.&lt;BR /&gt;&lt;BR /&gt;Customization here.&lt;BR /&gt;&lt;BR /&gt;You need to move the messages file to a daily rotation and ad customization, perhaps to syslog or its clone to keep the files for 4 weeks.&lt;BR /&gt;&lt;BR /&gt;They are going to pile up though.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jul 2009 12:15:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/logrotate/m-p/4459304#M37469</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-14T12:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: logrotate</title>
      <link>https://community.hpe.com/t5/operating-system-linux/logrotate/m-p/4459305#M37470</link>
      <description>Can you help me how to customize the syslog for the /var/log/messages file.&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jul 2009 13:45:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/logrotate/m-p/4459305#M37470</guid>
      <dc:creator>csreenivas</dc:creator>
      <dc:date>2009-07-14T13:45:56Z</dc:date>
    </item>
  </channel>
</rss>

