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

Re: dpkg-logger



Previously Ben Collins wrote:
> Well, this is my first shot at making a wrapper for logger for packages
> to use. This is just for testing and usability try outs. I used
> dpkg-divert as a template so that it could easily be droped into
> dpkg-?.?.?/scripts/ for actual usage.

I made a slight rewrite to remove some code duplication. I'm not sure if
we should directly use the level that syslog uses here. We might want to
define our own list and map that to syslog levels, so we can change how
we handle them at a later time.

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wakkerma@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: dpkg-logger.pl
Description: Perl program

Attachment: pgpZ8lJF67MRR.pgp
Description: PGP signature


Reply to: