Hi,
peter riegersperger at 2003. m�rcius 26. 14.19 wrote:
> could someone please explain to me how turbine-logging works?
>
> when i do:
> import org.apache.turbine.util.Log;
> Log log = new Log();
> log.error("error.", e);
>
> shouldn't my message get logged in turbine.log?
Don't instantiate Log object, simply use it:

import org.apache.turbine.util.Log;
...

 Log.error("error.", e);

and there are a lot of properties in TR.properties which is setting log 
levels.
 
-- 
bye,
----------------------------------------------------
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to