Fwd: Re: log4j2 and Freemarker errors

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Re: log4j2 and Freemarker errors

Jacques Le Roux
Administrator
 >do you mean stdout?

Yes answered to myself only :/

-------- Message transféré --------
Sujet : Re: log4j2 and Freemarker errors
Date : Mon, 15 Sep 2014 12:02:21 +0200
De : Jacques Le Roux <[hidden email]>
Organisation : Les Arts Informatiques
Pour : Jacques Le Roux <[hidden email]>



Also put that only in external.log is doubtful. Because my Freemarker error was generated by an error in an OFBiz java file called my static.
I guess it's the same for errors in custom Freemarker macros.

Jacques

Le 15/09/2014 11:57, Jacques Le Roux a écrit :

> Ah sorry missed stout, why not by default in stout?
>
> Jacques
>
> Le 15/09/2014 11:56, Jacques Le Roux a écrit :
>> What about console?
>>
>> Jacques
>>
>> Le 15/09/2014 11:50, Jacopo Cappellato a écrit :
>>> Being logs generated by an external (to OFBiz) application, the log messages are redirected to the external.log file.
>>> You can edit the"freemarker" logger additivity from "false" to "true" to make them appears in stout and ofbiz.log.
>>>
>>> Jacopo
>>>
>>> On Sep 15, 2014, at 11:45 AM, Jacques Le Roux <[hidden email]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I just noticed that some (at least, I guess all) Freemarker errors are no longer showing in console nor in ofbiz.log but only in external.log
>>>>
>>>> Is that wanted, if so, why?
>>>>
>>>> Jacques
>>>>
>>>
>>>
>>
>



Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Re: log4j2 and Freemarker errors

Jacques Le Roux
Administrator

Le 15/09/2014 12:23, Jacques Le Roux a écrit :

> >do you mean stdout?
>
> Yes answered to myself only :/
>
> -------- Message transféré --------
> Sujet :     Re: log4j2 and Freemarker errors
> Date :     Mon, 15 Sep 2014 12:02:21 +0200
> De :     Jacques Le Roux <[hidden email]>
> Organisation :     Les Arts Informatiques
> Pour :     Jacques Le Roux <[hidden email]>
>
>
>
> Also put that only in external.log is doubtful. Because my Freemarker error was generated by an error in an OFBiz java file called my static.
TYPO:
Also put that only in external.log is doubtful. Because my Freemarker error was generated by an error in an OFBiz Java file called BY static

The static method which had an error in the FileUtil.isFile() method I just committed

Jacques

> I guess it's the same for errors in custom Freemarker macros.
>
> Jacques
>
> Le 15/09/2014 11:57, Jacques Le Roux a écrit :
>> Ah sorry missed stout, why not by default in stout?
>>
>> Jacques
>>
>> Le 15/09/2014 11:56, Jacques Le Roux a écrit :
>>> What about console?
>>>
>>> Jacques
>>>
>>> Le 15/09/2014 11:50, Jacopo Cappellato a écrit :
>>>> Being logs generated by an external (to OFBiz) application, the log messages are redirected to the external.log file.
>>>> You can edit the"freemarker" logger additivity from "false" to "true" to make them appears in stout and ofbiz.log.
>>>>
>>>> Jacopo
>>>>
>>>> On Sep 15, 2014, at 11:45 AM, Jacques Le Roux <[hidden email]> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I just noticed that some (at least, I guess all) Freemarker errors are no longer showing in console nor in ofbiz.log but only in external.log
>>>>>
>>>>> Is that wanted, if so, why?
>>>>>
>>>>> Jacques
>>>>>
>>>>
>>>>
>>>
>>
>
>
>
>