Configure James Logging

View: New views
3 Messages — Rating Filter:   Alert me  

Configure James Logging

by Todd Wallentine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am still very new to using James but have been learning quite a bit over
the last couple of months. One thing that I still don't quite understand is
how logging is configured. Specifically, I want to log a particular
RemoteDelivery mailet to its own log file.

For example, I have the following mailet configuration:
<mailet match="HostIs=foo.com" class="RemoteDelivery">
            <debug>false</debug>
            <outgoing> file://var/mail/outgoing-foo-com/ </outgoing>
            <delayTime>1 hour</delayTime>
            <maxRetries>12</maxRetries>
            <deliveryThreads>1</deliveryThreads>
            <sendpartial>true</sendpartial>
            <bounceProcessor>bounces</bounceProcessor>
            <mail.smtp.localhost>mail.theideacenter.org
</mail.smtp.localhost>
</mailet>

I am hoping that I can make that specific RemoteDelivery mailet log to its
own file (e.g., mailet-foo-com-2009-11-09-00-00.log).

Can anyone tell me if this is possible and if so, how it might be
configured?

thanks,
todd

Re: Configure James Logging

by Norman Maurer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Todd.

sorry to say that, but its not possible :-(. All Mailets log to the
mailet-*.log file. You can only adjust the logging level in the
enviroment.xml file, nothing more.

Bye,
Norman


2009/11/9 Todd Wallentine <todd@...>:

> I am still very new to using James but have been learning quite a bit over
> the last couple of months. One thing that I still don't quite understand is
> how logging is configured. Specifically, I want to log a particular
> RemoteDelivery mailet to its own log file.
>
> For example, I have the following mailet configuration:
> <mailet match="HostIs=foo.com" class="RemoteDelivery">
>            <debug>false</debug>
>            <outgoing> file://var/mail/outgoing-foo-com/ </outgoing>
>            <delayTime>1 hour</delayTime>
>            <maxRetries>12</maxRetries>
>            <deliveryThreads>1</deliveryThreads>
>            <sendpartial>true</sendpartial>
>            <bounceProcessor>bounces</bounceProcessor>
>            <mail.smtp.localhost>mail.theideacenter.org
> </mail.smtp.localhost>
> </mailet>
>
> I am hoping that I can make that specific RemoteDelivery mailet log to its
> own file (e.g., mailet-foo-com-2009-11-09-00-00.log).
>
> Can anyone tell me if this is possible and if so, how it might be
> configured?
>
> thanks,
> todd
>

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


Re: Configure James Logging

by Todd Wallentine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bummer. But thanks for the quick response.

todd