On 11/28/04 9:36 PM, "Robert Spier" <[EMAIL PROTECTED]> wrote:
>> logging/syslog unix >> logging/stdout 5 >> >> Where 'inet' is the syslog's default, 'unix' and 'stream /path/to/stream' >> and the '5' arg for stdout is just like the entry in config/loglevel. > > Smells like inconsistency to me. > > Yes, right now we're using syslog-like log levels, but seems like we > might want to also provide the ability to have a cutoff level as in > config/loglevel. > I'm sure my simple logging/syslog plugin could be enhanced. In the case of syslog, this cutoff can be ultimately controlled in /etc/syslog.conf. Perhaps the lower level events don't get written to disk, or maybe they do but get rolled more often. Maybe some are written to a pipe from syslog. It's all in the config. > How does config/loglevel work with your patch? > Ignored. > Also, you need a way to provide a syslog log facility. > Uhh, no. 'mail' seems pretty logical to me. If someone could review and carve up the recursion avoidance I did in Qpsmtpd.pm, I'd appreciate the help. Maybe it's close enough to the right thing, but I doubt it. peter
