🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Volume Fri, 12 Feb 1999 00:00
diablo
#35390
Author: Volume
Date: Fri, 12 Feb 1999 00:00
13 lines
802 bytes
hi,

i'm testing  the latest diablo-server, it seems to be running fine
but it puts all logging to /var/log/messages . Nothing arrives in the
/news/log directory.
How can i change that ?

thx in advance.

- Volume


Re: diablo
#35368
Author: Volume
Date: Fri, 12 Feb 1999 00:00
29 lines
1320 bytes
hi,

thanx alot, indeed i'm running linux, ( kernel 2.0.36 ) but it seems to work
without the
"-" before  /news/log
what is it good for ?


- Volume



fluffY wrote:

> Clinton Work <work@darkhorse.cadvision.com> wrote:
> > You need to adjust your /etc/syslog.conf configuration file. Either add
> > the following entry in /etc/syslog.conf or change it so that it reads:
> >
> > news.*                /news/log/news.notice
>
> Unless you're running linux, in which case you want:
> news.*                  -/news/log/news.notice
>
> The performance difference can be spectacular.




Re: diablo
#35371
Author: fluffY
Date: Fri, 12 Feb 1999 00:00
12 lines
1276 bytes
Clinton Work <work@darkhorse.cadvision.com> wrote:
> You need to adjust your /etc/syslog.conf configuration file. Either add
> the following entry in /etc/syslog.conf or change it so that it reads:
> 
> news.*		/news/log/news.notice

Unless you're running linux, in which case you want:
news.*			-/news/log/news.notice

The performance difference can be spectacular.

Re: diablo
#35383
Author: fluffY
Date: Fri, 12 Feb 1999 00:00
13 lines
1349 bytes
Volume <volume@volume.online.be> wrote:
> hi,
> 
> thanx alot, indeed i'm running linux, ( kernel 2.0.36 ) but it seems to work
> without the
> "-" before  /news/log
> what is it good for ?

If you don't put that in, syslogd will sync on writing every log entry,
holding up the thread or process doing the logging.  The '-' prefix
disables that "feature."

Re: diablo
#35391
Author: Clinton Work
Date: Fri, 12 Feb 1999 00:00
30 lines
1628 bytes
Volume <volume@volume.online.be> wrote:
: hi,
: i'm testing  the latest diablo-server, it seems to be running fine
: but it puts all logging to /var/log/messages . Nothing arrives in the
: /news/log directory.
: How can i change that ?

You need to adjust your /etc/syslog.conf configuration file. Either add
the following entry in /etc/syslog.conf or change it so that it reads:

news.*		/news/log/news.notice

Make sure that the logfile exists because syslogd won't create it 
for you.

touch /news/log/news.notice

You need to restart the syslogd process for the changes to /etc/syslog.conf
to take effect. Run ps to find the process id and then use "kill -1" to
restart it. The best way to restart syslogd varies for each unix.

Diablo should not be logging to /news/log/news.notice.


-- 
=========================================================================
Clinton Work                                     workc@cadvision.com
Calgary, Alberta

Re: diablo
#35407
Author: Dan Foster
Date: Sat, 13 Feb 1999 00:00
32 lines
1922 bytes
In article <slrn7c92sv.147.hipQrimE@meowhost.meow.invalid>,
fluffY <hipQrimE@myremarQ.coM> wrote:
>Volume <volume@volume.online.be> wrote:
>> hi,
>> 
>> thanx alot, indeed i'm running linux, ( kernel 2.0.36 ) but it seems to work
>> without the
>> "-" before  /news/log
>> what is it good for ?
>
>If you don't put that in, syslogd will sync on writing every log entry,
>holding up the thread or process doing the logging.  The '-' prefix
>disables that "feature."

I will say that in some cases where you have really high volume syslogd
traffic, like we do to certain log boxes, that '-' makes *all* the difference
in the world in keeping the machine humming along smoothly vs being super
lagged! However, it's probably not a big deal unless you're doing a lot
of syslog messages on your box(es). And as somebody noted, probably don't
want to use this for critical messages (ie tcp wrappers stuff).

-Dan
-- 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Foster
Systems Specialist, Frontier Internet Administration Team [East Coast]
Frontier GlobalCenter, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: diablo
#35416
Author: Edward S. Marshall
Date: Sat, 13 Feb 1999 00:00
25 lines
1699 bytes
In article <slrn7c92sv.147.hipQrimE@meowhost.meow.invalid>,
	hipQrimE@myremarQ.coM (fluffY) writes:
> Volume <volume@volume.online.be> wrote:
>> thanx alot, indeed i'm running linux, ( kernel 2.0.36 ) but it seems to work
>> without the
>> "-" before  /news/log
>> what is it good for ?
> 
> If you don't put that in, syslogd will sync on writing every log entry,
> holding up the thread or process doing the logging.  The '-' prefix
> disables that "feature."

That "feature" also makes sure that your logs are there if your system
crashes. Makes sure you don't lose anything; to some of us, logs are
rather important.

Just wanted to emphasize that point.

-- 
  ____ ______ _____
_/ __ \  ___//     \  Edward S. Marshall <emarshal@xnet.com>
\  ___/___ \|  | |  \ http://www.xnet.com/~emarshal/
 \____\_____>__|_|__/ XNet Information Systems, Inc. Systems Administrator

Re: diablo
#35421
Author: fluffY
Date: Sat, 13 Feb 1999 00:00
12 lines
1504 bytes
Edward S. Marshall <emarshal@xnet.com> wrote:
> That "feature" also makes sure that your logs are there if your system
> crashes. Makes sure you don't lose anything; to some of us, logs are
> rather important.
> 
> Just wanted to emphasize that point.

So don't use the dash for the critical messages.  And hey, if it's that
important, you can always also log to the console and hook up an LA34
in case the logging disk goes away.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads