<?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.conf Question? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-conf-question/m-p/2826005#M87622</link>
    <description>You could, as was mentioned, just grep your syslog file for these conditions. Here's a shortform of something to remove those 6b,2e...and only write out to temp what is left.&lt;BR /&gt;&lt;BR /&gt;cat ~/syslog.log | egrep -v -i '6b|2e|4b|3b|2b' &amp;gt; ~/syslog.temp&lt;BR /&gt;mv ~/syslog.temp &amp;gt; ~/syslog.log&lt;BR /&gt;&lt;BR /&gt;..But..if it's a third party software, I'd be talking to that vendor to have them create 'their' own log in an appropriate f/s !!!  &lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;Rita&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 15 Oct 2002 12:56:30 GMT</pubDate>
    <dc:creator>Rita C Workman</dc:creator>
    <dc:date>2002-10-15T12:56:30Z</dc:date>
    <item>
      <title>Syslog.conf Question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-conf-question/m-p/2826003#M87620</link>
      <description>Team:&lt;BR /&gt;&lt;BR /&gt; I have a need to redirect some third party stuff ( currently writing to syslog) to another log file. I put a -v option to syslog and found that the following services to be redirected to a different log file.&lt;BR /&gt;6B,2E,4B,3B,2B. Please help me to redirect these services used by the third party s/w to be redirected. &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Joe.</description>
      <pubDate>Tue, 15 Oct 2002 12:36:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-conf-question/m-p/2826003#M87620</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2002-10-15T12:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog.conf Question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-conf-question/m-p/2826004#M87621</link>
      <description>Joe&lt;BR /&gt;&lt;BR /&gt;This may help :-&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x9366c1c4ceddd61190050090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x9366c1c4ceddd61190050090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Tue, 15 Oct 2002 12:45:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-conf-question/m-p/2826004#M87621</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-10-15T12:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog.conf Question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-conf-question/m-p/2826005#M87622</link>
      <description>You could, as was mentioned, just grep your syslog file for these conditions. Here's a shortform of something to remove those 6b,2e...and only write out to temp what is left.&lt;BR /&gt;&lt;BR /&gt;cat ~/syslog.log | egrep -v -i '6b|2e|4b|3b|2b' &amp;gt; ~/syslog.temp&lt;BR /&gt;mv ~/syslog.temp &amp;gt; ~/syslog.log&lt;BR /&gt;&lt;BR /&gt;..But..if it's a third party software, I'd be talking to that vendor to have them create 'their' own log in an appropriate f/s !!!  &lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;Rita&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 12:56:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-conf-question/m-p/2826005#M87622</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-10-15T12:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog.conf Question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-conf-question/m-p/2826006#M87623</link>
      <description>Woops...I'm wiping them out.  You just wanted to redirect...sorry...just add the following to be the first line:&lt;BR /&gt;&lt;BR /&gt;cat ~/syslog.log | egrep -i '6b|2e|....' &amp;gt; ~/syslog.3pty&lt;BR /&gt;Now the other 2 lines...&lt;BR /&gt;&lt;BR /&gt;This will put those entries to another file syslog.3pty for you to read...and then clean up your syslog.&lt;BR /&gt;&lt;BR /&gt;Sorry for not reading closer..&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 13:47:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-conf-question/m-p/2826006#M87623</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-10-15T13:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog.conf Question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-conf-question/m-p/2826007#M87624</link>
      <description>Hi Joe&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Steps should be like this &lt;BR /&gt;&lt;BR /&gt;1. make a copy of syslog.&lt;BR /&gt;2. grep on the fields you want to take out and o/p to differnt files.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you can also edit /sbin/init.d/syslogd to redirect o/p to some other file , but I prefer that you sont not modify that system script ans use the syslog file itself.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 15 Oct 2002 13:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-conf-question/m-p/2826007#M87624</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-10-15T13:57:07Z</dc:date>
    </item>
  </channel>
</rss>

