Hi,
The loglevel was already set to 8.
I try with a very simple plugin :
sub register {
my ($self, $qp, %arg) = @_;
$self->{_match} = $arg{match};
$self->register_hook("rcpt", "my_plugin");
}
sub my_plugin {
my ($self, $transaction, $rcpt) = @_;
$self->qp->log(LOGINFO, "my_plugin is working !");
return DECLINED;
}
In the log, I have :
2012-01-09 15:58:43.593785500 4156 rcpt_ok hooking rcpt
2012-01-09 15:58:43.595949500 4156 my_plugin hooking rcpt
2012-01-09 15:58:43.597659500 4156 tnef2mime hooking data_post
but not the message supposed to be written in the log. I tried with various loglevels, and also $self->log instead of $self->qp->log, but I never get anything more in the log file...
What is wrong ? What can I try more ?