Thread View: news.software.nntp
2 messages
2 total messages
Started by Leonard J. Peirce
Mon, 09 Apr 1990 21:31
Re: Wierd problem with logging of statistics
Author: Leonard J. Peirce
Date: Mon, 09 Apr 1990 21:31
Date: Mon, 09 Apr 1990 21:31
37 lines
2368 bytes
2368 bytes
In an article a while back, I wrote >In article <648@massey.ac.nz> K.Spagnolo@massey.ac.nz (Ken Spagnolo) writes: >>Last week I brought up nntp 1.5.8 and everything seemed to be going >>just fine. But over the weekend, my logging went from including >>entries for "ihave_stats" and "times" to only telling me when my >>news feeder connected. As I wasn't here over the weekend, I'm quite >>sure I made no changes that should effect this! I'm running on a >>4.3 BSD system with FAKESYSLOG defined (I don't like to clutter the >>real one), as well as SYSLOG and LOG. LOG is the one that is supposed >>to give you the extra stats entries. > >I had that same problem. The fix is to change lines 87-89 of common/conf.h >from > [...] And then in article <425@gazette.bcm.tmc.edu> sob@watson.bcm.tmc.edu (Stan Barber) writes: >I can't find a reason why this does not work as expected. Defining LOG, SYSLOG, >& FAKESYSLOG should log it to a FAKESYSLOG-named file. It will work, as long as you #define LOG after the #ifdef SYSLOG -- #endif because if you #define it before, LOG winds up being #undef'd. I've verified this more than once. Everything works fine if LOG winds being #defined somehow. It just seems that the #undef LOG should be #define LOG (at least that's what the comments seem to be saying). Or perhaps it should be #ifndef SYSLOG #undef LOG #endif Even the comment says "you can only have LOG if you have SYSLOG." -- Leonard J. Peirce Internet: peirce@gumby.cc.wmich.edu Western Michigan University peirce@gw.wmich.edu Academic Computer Center UUCP: ...!uunet!sharkey!wmichgw!peirce Kalamazoo, MI 49008 Phone: (616) 387-5469
Re: Wierd problem with logging of statistics
Author: Stan Barber
Date: Tue, 10 Apr 1990 01:42
Date: Tue, 10 Apr 1990 01:42
11 lines
1089 bytes
1089 bytes
Well, you just can satisfy all the people all the time.... If LOG is undefined, you get some level of logging, not just everything. I had received many requests to leave it undefined the distribution. 1.5.9 will have it turned back on. By the way, it is true that you only get LOG if SYSLOG is defined AND LOG is defined, too.
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