Re: [Exim] Sys::Syslog in perl in Exim

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Phil Pennock
CC: Exim Users
Assumpte: Re: [Exim] Sys::Syslog in perl in Exim
On Fri, 13 Jul 2001, Phil Pennock wrote:

> PH: Exim 4 feature request: Exim's Perl module should have Exim::log()
> available, to just log stuff using Exim's configured logging. I'm doing
> really really horrid things inside a Perl function and it worries me at
> times. Being able to write out log info in production usage would be A
> Nice Thing. Integrated with Exim's logs would be even better. Being
> able to output something when someone's doing "exim -d9" would be
> utterly superb! :^)


Request noted. I guess I can imitate Malcolm's code for calling expand()
easily enough.

Of course, -d9 no longer exists in Exim 4. It's been changed to use
names to select debugging areas. I'm not so sure I want to have to
invent a way of exporting the names, but the bit values will be
published. Similarly for the log level.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.