Skip Menu |

This queue is for tickets about the Net-Server CPAN distribution.

Report information
The Basics
Id: 78514
Status: resolved
Priority: 0/
Queue: Net-Server

People
Owner: Nobody in particular
Requestors: gbhat [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.006
Fixed in: (no value)



Subject: Net::Server::Multiplex does not log with $self->log
$self->log($level, $message) does not work in Net::Server::Multiplex sub- classes because N::S::log looks for configuration info ($prop) in $self- {server}, while it should look in $self->{net_server}{server}. Not sure how best to fix this. Currently working around the problem by setting: $self->{server}{log_level} = $self->{net_server}{server}{log_level}; $self->{server}{log_file} = $self->{net_server}{server}{log_file}; in my mux_connection hook. IAC, many thanks for a great and useful module
I added a chain call so MUX::log now delegates to {server}->log in the 2.007 release.