RE: NNTPC: nntpcache setup

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

 



-----Original Message-----
From: tschweikle@FIDUCIA.de [mailto:tschweikle@FIDUCIA.de]
>additional: there is no log output. NOTHING! How can I turn some really
>simple maybe stupid debugging messages on like:
>
>xyz: started
>xyz: initializing socket on 192.168.x.x, port 1111
>xyz: connecting server 192.168.y.y, port 1111
>xyz: connection established
>xyz: get ...
>
>and so on?
>
>Where are the options?
i stumbled on the same problem, and the solution is pretty simple: you
have to configure _both_ nntpcached and your syslogd to get logs
rolling....

something like this:

in nntpcache.config:
logFromClient           yes
logToClient             yes
logFromServer           yes
logToServer             yes
logListMerge            yes
logListMergeCorrelation yes
logNocem                yes
logDebug                yes
logInfo                 yes
logWarnings             yes
logErrors               yes

in /etc/syslogd.conf:
news.=notice            /var/log/news/notice.log
news.=warning           /var/log/news/warning.log
news.=err               /var/log/news/error.log
news.=crit              /var/log/news/critical.log
news.=alert             /var/log/news/alert.log
news.=emerg             /var/log/news/emerg.log

obviously this setup produces massive amounts of logs, once your system
is up and running you'll want to set at least logToClient,
logFromServer, logDebug and logInfo to "no".

cheers, 
Alex

______________________________________________________

Alessandro Chiolo     <alessandro.chiolo@galactica.it>
______________________________________________________

Galactica S.p.A. 
Information Technology Group - Area Networking
Via Tonale, 26 - 20125 Milano - Tel. 02-67620.215
______________________________________________________

        I'm Winston Wolf. I Solve Problems.
______________________________________________________



[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux