Hi Charles,

On Mon, Jul 07, 2003 at 02:55:28PM -0400, Charles R. Rusty Thompson wrote:
> In modifying PostMaster.pm today to block a sender's address from importing
> email into the system I hit upon something that may or may not be a bug.
> 
> It appears that the calls to $Self->{LogObject}->Log(Message='Message
> Here'); do not produce results. I had included code to block an address,
> basically copying the X-OTRS-ignore block and replacing it with the From
> parameter. I have verified that the code does indeed block the address, but
> I never see the message in the system logs.
> 
> Am I missing something here? Does LogObject point to something different
> than the System Log?

Try to use:

$Self->{LogObject}->Log(Priority => 'notice', Message=> 'Message Here');

If no Priority param is given the Priority debug is used. And debug isn't
shown in 'System Log'. .-)

> Charles

  Martin

--
Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/
--
Noch 68 Tage bis zum G�ubodenvolksfest! ;-)
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to