<?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: Stop logping in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518942#M872223</link>
    <description>Check /etc/syslog.conf</description>
    <pubDate>Thu, 19 Apr 2001 15:13:13 GMT</pubDate>
    <dc:creator>Vincenzo Restuccia</dc:creator>
    <dc:date>2001-04-19T15:13:13Z</dc:date>
    <item>
      <title>Stop logping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518939#M872220</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I got this file, /var/adm/lp/log in hp/ux.&lt;BR /&gt;Anybody know how to stop logging this file&lt;BR /&gt;&lt;BR /&gt;Thank You&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Apr 2001 13:07:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518939#M872220</guid>
      <dc:creator>Wantit Tangrugsasut</dc:creator>
      <dc:date>2001-04-19T13:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Stop logping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518940#M872221</link>
      <description>Hi Wantit!&lt;BR /&gt;from the lpsched man page:&lt;BR /&gt;"lpsched   Schedules requests taken by lp(1) for printing on line printers.&lt;BR /&gt;lpsched is typically invoked in /sbin/rc. This creates a process which runs in the background until lpshut is executed. The activity of the process is recorded in /var/adm/lp/log."&lt;BR /&gt;&lt;BR /&gt;So, if you have lpsched running, you have to let this log growing. Of course you can always shrink it for example with a script that checks the size of it.&lt;BR /&gt;Before this, check if you need lpsched running. Then check if the log contains important information.&lt;BR /&gt;good luck.</description>
      <pubDate>Thu, 19 Apr 2001 13:42:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518940#M872221</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2001-04-19T13:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Stop logping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518941#M872222</link>
      <description>I would take Pedro's advice and periodically move the file to a log.old and compress it. You could set up a cron job to do it. However,&lt;BR /&gt;if you really want to stop logging (which I don't suggest) you can create a symbolic link to /dev/null.&lt;BR /&gt;ln -s /dev/null /var/adm/lp/log</description>
      <pubDate>Thu, 19 Apr 2001 14:51:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518941#M872222</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-04-19T14:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Stop logping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518942#M872223</link>
      <description>Check /etc/syslog.conf</description>
      <pubDate>Thu, 19 Apr 2001 15:13:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518942#M872223</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-19T15:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Stop logping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518943#M872224</link>
      <description>Well here's a little info I found. Logging is turned on when lpsched -v is run.  Now via lpsched command, I do not have a clue how to stop this.&lt;BR /&gt;But I remember a couple things...there's a command pddisable and you can use this to modify the log_severity and maximum log-size you want to let it grow.    You may (note I said may..) be able to stop it using the command&lt;BR /&gt; pddisable -c log SERVERNAME:default_error&lt;BR /&gt;&lt;BR /&gt;But .... I have never tried it...so I am not sure what it may or may not do..&lt;BR /&gt;There is also a file at /var/opt/pd called spl_error.cfg and I believe you can edit this file so that if you wanted logging to stop when the file hit a certain size you could set it here...as well as set the log-severity option.&lt;BR /&gt;&lt;BR /&gt;Well that's all I could come up with...hope this gives you some ideas,&lt;BR /&gt;/rcw</description>
      <pubDate>Thu, 19 Apr 2001 18:12:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518943#M872224</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-04-19T18:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Stop logping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518944#M872225</link>
      <description>Try scheduling a job to run lpshut&lt;BR /&gt;and then lpsched on a periodic basis.&lt;BR /&gt;lpsched will move the log file to &lt;BR /&gt;/var/adm/lp/oldlog.&lt;BR /&gt;Pick a frequency that keeps the log size &lt;BR /&gt;reasonable for you.</description>
      <pubDate>Fri, 20 Apr 2001 22:08:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stop-logping/m-p/2518944#M872225</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2001-04-20T22:08:27Z</dc:date>
    </item>
  </channel>
</rss>

