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 Markus Moldaschl <Ma...@willhaben.at> on 2013/11/06 13:04:00 UTC

How to see exceptions during startup in james-server.log

Hi,

does anybody know how I can have the stack trace of springs bean creation exceptions or the like during James startup in james-server.log?

It’s a bit annoying having to check james-server.log, wrapper.log or the output of ‚./james console‘ in case James does not start …

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


Re: How to see exceptions during startup in james-server.log

Posted by Jan Drake <ja...@gmail.com>.
... I usually add &> filename.log to the process invocation so I catch
anything spit out there and then switch the logging profiles to FINE.


Jan

On 11/6/13 10:04 AM, "Eric Charles" <er...@apache.org> wrote:

>Logging in a file is something usual.
>I guess you can pipe the file to standard output.
>
>On 06/11/13 13:04, Markus Moldaschl wrote:
>> Hi,
>>
>> does anybody know how I can have the stack trace of springs bean
>>creation exceptions or the like during James startup in james-server.log?
>>
>> It’s a bit annoying having to check james-server.log, wrapper.log or
>>the output of ‚./james console‘ in case James does not start …
>>
>> Thx in advance
>> Markus
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>For additional commands, e-mail: server-user-help@james.apache.org
>



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


Re: How to see exceptions during startup in james-server.log

Posted by Eric Charles <er...@apache.org>.
Logging in a file is something usual.
I guess you can pipe the file to standard output.

On 06/11/13 13:04, Markus Moldaschl wrote:
> Hi,
>
> does anybody know how I can have the stack trace of springs bean creation exceptions or the like during James startup in james-server.log?
>
> It’s a bit annoying having to check james-server.log, wrapper.log or the output of ‚./james console‘ in case James does not start …
>
> Thx in advance
> Markus
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>

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