This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>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" 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.* /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 /var/log/message ><br>s ><p># The authpriv file has restricted access. ><br>authpriv.* /var/log/secure ><p># Log all the mail messages in one place. ><br>mail.* /var/log/maillog ><br> ><p># Log cron stuff ><br>cron.* /var/log/cron ><p># Everybody gets emergency messages ><br>*.emerg * ><br># Save news errors of level crit and higher in a special file. ><br>uucp,news.crit /var/log/spooler ><p># Save boot messages also to boot.log ><br>local7.* /var/log/boot.log ><p># ><br># INN ><br># ><br>news.=crit &nbs > p; &nb > sp; &n > bsp; >/var/log/news/news.crit ><br>news.=err   > ; &nbs > p; &nb > sp; >/var/log/news/news.err ><br>news.notice &nb > sp; &n > bsp; & > nbsp; >/var/log/news/news.notice ><br>local7.info &nb > sp; >@netlog.fsl.noaa.gov ><br>local2.debug &n > bsp; >@netlog.fsl.noaa.gov ><br>*.warn;*.err &n > bsp; >@netlog.fsl.noaa.gov ><br>authpriv.*;auth.* @netlog. > fsl.noaa.gov ><br># for LDM config ><br>local0.debug /usr/local/ldm/logs/ldmd.log ><br>local0.info /usr/local/ldm/logs/ldmd.log ><br> ><pre>-- >Darien Davis >M/S/FS4   > ; pho > ne: 303-497-6347 >325 Broadway > email: darien.l.davis@noaa.g > ov >Boulder, CO 80305</pre> > </html> > >--------------C59E8FA43EDA936BB1DFC26D-- >