Re: Log files

Jim Decatur (
Sat, 14 Jun 1997 09:44:38 -0400 (EDT)

On Sat, 14 Jun 1997, Chris Molnar wrote:

> I know it is possible to make all ifmail related log entries go to iflog.
> How do I configure the log files to do this? Currently all entries are
> only going to my log/messages and log/syslog.

In the "CONFIG" file used to compile ifmail I have:
DEBUGFILE = "/usr/lib/news/ifdebug"
# Procession log. Usually gets several lines for each invocation.
# Also look for error diagnostics here. If HAS_SYSLOG defined,
# only stdout and stderr from the packers and unpackers go to this
# file, while actual logging is done via syslog() calls.
# This may be changed in the 'config' file.
LOGFILE = "/usr/lib/news/iflog"

Also "-DHAS_SYSLOG" is NOT defined in the OPTS section.

In the "config" file used by the binaries I have:
# Log file name. Overrides compile-time default.
logfile /var/lib/news/iflog

# Debug file name. Overrides compile-time default.
debugfile /var/lib/news/ifdebug

All logging goes to /usr/lib/news/iflog in my case.