Log articles in realtime?

Russ Allbery rra at stanford.edu
Wed Jul 3 20:32:00 UTC 2013

Jesse Rehmer <jesse.rehmer at blueworldhosting.com> writes:

> I'd really like to have the article log (/usr/local/news/log/news)
> written to in realtime, or closer to realtime much like Diablo performs.
> I don't see that there are any configuration settings which may control
> this, unless I've overlooked something.  Before I start digging in
> source code I was curious if anyone else had been able to implement
> realtime logging?

> Note that when I say realtime I just mean that the log appears to be
> updated as each article is received in Diablo and I'd prefer that
> behavior for INN if possible.

Change whatever script you use to start innd to pass the -u option to

    -u  The news log (the trace information for every article accepted by
        innd) is normally buffered. This option changes the log to be

Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.

More information about the inn-workers mailing list