You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Bud Bach <bu...@receller.com> on 2005/05/04 00:07:11 UTC

GenericMailet.Log()

Hi, I'm having problems with logging from a Mailet.  I'm trying to use
GenericMailet.Log().  I see stuff in the
${app.home}/logs/mailet-yyyy-MM-dd-HH-mm.log file but not my log code.  In
my mailet's service() method I have something like log("Here I am!") as the
first statement which I never see.  I know the code is getting hit because
the mailet is doing its job.  I modified my environment.xml for "DEBUG"
level output:

 

      <category name="James.Mailet" log-level="DEBUG">

        <log-target id-ref="James-Mailet-target"/>

      </category>

 

Still not seeing anything.  Any idea what I am missing?  Thanks.  -- Bud


RE: GenericMailet.Log()

Posted by Bud Bach <ww...@ameritech.net>.
Just to follow up, this was a total user error.  I had renamed my .jar files
to .old in the /lib directory and they were still getting picked up by
Pheonix or whatever...  -- Bud

> -----Original Message-----
> From: Bud Bach [mailto:bud@receller.com]
> Sent: Tuesday, May 03, 2005 5:07 PM
> To: server-user@james.apache.org
> Subject: GenericMailet.Log()
> 
> Hi, I'm having problems with logging from a Mailet.  I'm trying to use
> GenericMailet.Log().  I see stuff in the
> ${app.home}/logs/mailet-yyyy-MM-dd-HH-mm.log file but not my log code.  In
> my mailet's service() method I have something like log("Here I am!") as
> the
> first statement which I never see.  I know the code is getting hit because
> the mailet is doing its job.  I modified my environment.xml for "DEBUG"
> level output:
> 
> 
> 
>       <category name="James.Mailet" log-level="DEBUG">
> 
>         <log-target id-ref="James-Mailet-target"/>
> 
>       </category>
> 
> 
> 
> Still not seeing anything.  Any idea what I am missing?  Thanks.  -- Bud



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org