[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20030714: syslog info (cont.)



>From: Darien Davis <address@hidden>
>Organization: NOAA/FSL
>Keywords: 200307022104.h62L44Ld029719 LDM syslog.conf feedtype

Darien,

>I'm finally sending the syslog conf file. As you may recall from an
>earlier support "hellllpppp!" that I sent,
>the syslog is filling up on our linux /var/log partition with ldm stuff.
>Do we need a line "local0.none" somewhere?

Yes. As per the instructions in the 'Preinstallation Steps' link in:

http://my.unidata.ucar.edu/content/software/ldm/ldm-6.0.13/index.html

# Edit file /etc/syslog.conf

The LDM uses the system logging daemon, syslogd, to write error messages using 
the local0 logging facility.

    * Add the following entry to file /etc/syslog.conf

          local0.debug /usr/local/ldm/logs/ldmd.log

      Note that you might have to adjust the pathname of the log-file.

    * Add the string local0.none to entries like the following so that LDM
      messages will not be written to the console (Note: entries might not
      be exactly like these, but they should be similar):

          *.err;kern.notice;auth.notice;user.none;local0.none /dev/console
          *.err;kern.debug;daemon.notice;mail.crit;user.none;local0.none 
/var/adm/messages

So, at a minimum, I would adjust your:

*.info;mail.none;news.none;authpriv.none;cron.none  /var/log/messages

entry to:

*.info;mail.none;news.none;authpriv.none;cron.none;local0.none  
/var/log/messages

>Also, how do we get a new feedtype registered? We will use the EXP type
>for the work with the Air Force and NASA since it is now on an isolated
>network, but it would be nice to get a feedtype for these two sites.

I am afraid that we are out of spare feed types for the moment, so you
will have to use the EXP feed or one of the other existing feed types
that you are currently not using as long as you plan to keep _not_
using it for anything else.

>Thanks for all ofyour help!

No worries.

>Darien
>
>Here is a copy of the log (all have tabs in the white spaces)
>
># Log all kernel messages to the console.
># Logging much else clutters up the screen.
>#kern.*       /dev/console
>
># Log anything (except mail) of level info or higher.
># Don't log private authentication messages!
>*.info;mail.none;news.none;authpriv.none;cron.none  /var/log/messages
>
># The authpriv file has restricted access.
>authpriv.*      /var/log/secure
>
># Log all the mail messages in one place.
>mail.*       /var/log/maillog
>
>
># Log cron stuff
>cron.*       /var/log/cron
>
># Everybody gets emergency messages
>*.emerg       *
># Save news errors of level crit and higher in a special file.
>uucp,news.crit      /var/log/spooler
>
># Save boot messages also to boot.log
>local7.*      /var/log/boot.log
>
>#
># INN
>#
>news.=crit
>/var/log/news/news.crit
>news.=err                                         /var/log/news/news.err
>
>news.notice
>/var/log/news/news.notice
>local7.info               @netlog.fsl.noaa.gov
>local2.debug              @netlog.fsl.noaa.gov
>*.warn;*.err              @netlog.fsl.noaa.gov
>authpriv.*;auth.*         @netlog.fsl.noaa.gov
># for LDM config
>local0.debug    /usr/local/ldm/logs/ldmd.log
>local0.info    /usr/local/ldm/logs/ldmd.log
>
>
>--
>Darien Davis
>M/S/FS4                         phone: 303-497-6347
>325 Broadway                    email: address@hidden
>Boulder, CO 80305
>
>
>
>--------------C59E8FA43EDA936BB1DFC26D
>Content-Type: text/html; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>Hi Tom,
><br>I'm finally sending the syslog conf file. As you may recall from an
>earlier support "hellllpppp!" that I sent,
><br>the syslog is filling up on our linux /var/log partition with ldm stuff.
>Do we need a line "local0.none"&nbsp;somewhere?
><p>Also, how do we get a new feedtype registered? We will use the EXP type
>for the work with the Air Force
><br>and NASA since it is now on an isolated network, but it would be nice
>to get a feedtype for these two sites.
><p>Thanks for all ofyour help!
><p>Darien
><p>Here is a copy of the log (all have tabs in the white spaces)
><p># Log all kernel messages to the console.
><br># Logging much else clutters up the screen.
><br>#kern.*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/console
><p># Log anything (except mail) of level info or higher.
><br># Don't log private authentication messages!
><br>*.info;mail.none;news.none;authpriv.none;cron.none&nbsp; /var/log/message
><br>s
><p># The authpriv file has restricted access.
><br>authpriv.*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/log/secure
><p># Log all the mail messages in one place.
><br>mail.*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/log/maillog
><br>&nbsp;
><p># Log cron stuff
><br>cron.*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/log/cron
><p># Everybody gets emergency messages
><br>*.emerg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *
><br># Save news errors of level crit and higher in a special file.
><br>uucp,news.crit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/log/spooler
><p># Save boot messages also to boot.log
><br>local7.*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/log/boot.log
><p>#
><br># INN
><br>#
><br>news.=crit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
> p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
> bsp;&nbsp;&nbsp;
>/var/log/news/news.crit
><br>news.=err&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
> ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
> p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> sp;&nbsp;&nbsp;&nbsp;
>/var/log/news/news.err
><br>news.notice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
> bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
> nbsp;&nbsp;
>/var/log/news/news.notice
><br>local7.info&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> sp;&nbsp;&nbsp;&nbsp;
>@netlog.fsl.noaa.gov
><br>local2.debug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
> bsp;&nbsp;&nbsp;
>@netlog.fsl.noaa.gov
><br>*.warn;*.err&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
> bsp;&nbsp;&nbsp;
>@netlog.fsl.noaa.gov
><br>authpriv.*;auth.*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @netlog.
> fsl.noaa.gov
><br># for LDM config
><br>local0.debug&nbsp;&nbsp;&nbsp; /usr/local/ldm/logs/ldmd.log
><br>local0.info&nbsp;&nbsp;&nbsp; /usr/local/ldm/logs/ldmd.log
><br>&nbsp;
><pre>--&nbsp;
>Darien Davis
>M/S/FS4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
> ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pho
> ne: 303-497-6347
>325 Broadway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; email: darien.l.davis@noaa.g
> ov&nbsp;
>Boulder, CO 80305</pre>
>&nbsp;</html>
>
>--------------C59E8FA43EDA936BB1DFC26D--
>