[Net-IMAP-Server] Logging

Alex Vandiver alexmv at bestpractical.com
Sun Nov 8 01:51:22 EST 2009


On Tue, 2009-10-20 at 13:19 -0400, Alex Vandiver wrote:
> Understood.  This will break backwards compatibility, unfortunately, but
> it seems like a sensible thing to do in this case.  The only logging
> concept that this will add to Net::IMAP::Server itself is the concept of
> loglevels, based on Net::Server's existing concept of loglevels.

Version 1.25 was released unon an unsuspecting CPAN not too long ago,
with these changes:
 * BACKWARDS-INCOMPATIBLE CHANGE: Net::IMAP::Server::Command's
   ->log method takes a loglevel argument by default, and simply
   defers to Net::Server's logging infratructure.
 * Handle more of Net::Server's arguments to ->new, including logging
 * Pass through arguments to Net::Server any arguments to ->run
 * Support mailboxes with flat hierarchies (undef hierarchy separator)
 * Fix a bug where UID COPY set two OK responses

Note that Net::Server's logging facilities already cover all of the
features that you originally were looking for, from syslog to file
output.
 - Alex



More information about the Net-IMAP-Server mailing list