Re: [PATCH 05/11] authdeny: added standard log prefix
[email protected] (Robert Spier) Mon, 7 May 2012 09:52:27 -0700
| Newsgroups | perl.qpsmtpd |
|---|---|
| Message-ID | <CAAroffdstUGszz=7z31qh3z=umypT+Bq0vfvqL3A69U=iKsjDw@mail.gmail.com> |
Applied
We might want to consider factoring some of this out into a sub so we can
more easily tweak it later.
i.e.
$self->log( LOGWARN, log_fail("cannot_authenticate"))
or maybe even adding fail to the class.
hrm.
- $self->log( LOGWARN, "Cannot authenticate using authdeny" );
> + $self->log( LOGWARN, "fail: cannot authenticate" );
>
>