<?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: How to empty a log file in OpenVMS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888714#M67006</link>
    <description>copy nl: seems to work as expected</description>
    <pubDate>Tue, 01 Mar 2005 12:59:16 GMT</pubDate>
    <dc:creator>GS Voz y RI</dc:creator>
    <dc:date>2005-03-01T12:59:16Z</dc:date>
    <item>
      <title>How to empty a log file in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888707#M66999</link>
      <description>How can we empty a log file? We have several big log files and need to free space on disk.</description>
      <pubDate>Tue, 01 Mar 2005 12:22:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888707#M66999</guid>
      <dc:creator>GS Voz y RI</dc:creator>
      <dc:date>2005-03-01T12:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to empty a log file in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888708#M67000</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this depends on how your application uses that logfile.&lt;BR /&gt;&lt;BR /&gt;You could create a new version of the file, then restart your application (if it keeps the file open all the time and appends to an existing logfile).&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 01 Mar 2005 12:34:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888708#M67000</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-03-01T12:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to empty a log file in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888709#M67001</link>
      <description>Some system log files:&lt;BR /&gt;&lt;BR /&gt;For the accounting file it is:&lt;BR /&gt;$ SET ACCOUNTING /NEW_FILE&lt;BR /&gt;this opens a new version.&lt;BR /&gt;&lt;BR /&gt;For the operator log it is (on a trminal):&lt;BR /&gt;$ REPLY /ENABLE&lt;BR /&gt;$ REPLY /LOG&lt;BR /&gt;$ REPLY /DISABLE&lt;BR /&gt;again, a new version is created&lt;BR /&gt;&lt;BR /&gt;For the error log:&lt;BR /&gt;$ SET DEFAULT SYS$ERRORLOG:&lt;BR /&gt;$ RENAME ERRLOG.SYS ERRLOG.OLD&lt;BR /&gt;a new file is automatically created&lt;BR /&gt;&lt;BR /&gt;I don't have a VMS system handy at the moment, someone else will come up with the command to roll over the AUDIT log...</description>
      <pubDate>Tue, 01 Mar 2005 12:40:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888709#M67001</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-03-01T12:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to empty a log file in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888710#M67002</link>
      <description>The command to create a new AUDIT server logfile is:&lt;BR /&gt;&lt;BR /&gt;$ SET AUDIT/JOURNAL=SECURITY/THRESHOLD=WARN=200&lt;BR /&gt;(to reset the space monitoring threshold and create a new smaller file)&lt;BR /&gt;&lt;BR /&gt;$ SET AUDIT/SERVER=NEW_LOG&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 01 Mar 2005 12:44:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888710#M67002</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-03-01T12:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to empty a log file in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888711#M67003</link>
      <description>One of the files we want to empty is sqlnet.log. What we need is to execute something like this (UNIX):&lt;BR /&gt;&lt;BR /&gt;cp /dev/null sqlnet.log&lt;BR /&gt;&lt;BR /&gt;but in VMS</description>
      <pubDate>Tue, 01 Mar 2005 12:47:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888711#M67003</guid>
      <dc:creator>GS Voz y RI</dc:creator>
      <dc:date>2005-03-01T12:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to empty a log file in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888712#M67004</link>
      <description>How about&lt;BR /&gt;&lt;BR /&gt;$ CREATE sqlnet.log&lt;BR /&gt;&lt;CTRL-Z&gt;&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/CTRL-Z&gt;</description>
      <pubDate>Tue, 01 Mar 2005 12:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888712#M67004</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-03-01T12:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to empty a log file in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888713#M67005</link>
      <description>or COPY NL: sqlnet.log&lt;BR /&gt;&lt;BR /&gt;But it still depends on the application to re-open the file and continue to write on the new (empty) logfile.&lt;BR /&gt;&lt;BR /&gt;Then you can PURGE sqlnet.log&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 01 Mar 2005 12:51:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888713#M67005</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-03-01T12:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to empty a log file in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888714#M67006</link>
      <description>copy nl: seems to work as expected</description>
      <pubDate>Tue, 01 Mar 2005 12:59:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-empty-a-log-file-in-openvms/m-p/4888714#M67006</guid>
      <dc:creator>GS Voz y RI</dc:creator>
      <dc:date>2005-03-01T12:59:16Z</dc:date>
    </item>
  </channel>
</rss>

