Added here:
http://dev.xwiki.org/xwiki/bin/view/Community/CodeStyle#HLoggingBestPractices

Thanks
-Vincent

On Jun 16, 2009, at 9:56 PM, Vincent Massol wrote:

> Hi,
>
> We've already discussed this a long time ago but just want to raise  
> the topic again and document it. Do we agree that:
>
> * info is used for logs that should be printed by default (default  
> logging configuration)
> * logs that are informational but that shouldn't be printed by  
> default should be debug logs
> * warnings are not critical problems but raised so that the users  
> sees them and remedies the problem, shown by defaut too
> * error are critical problems that cause the application to  
> misbehave and should most of the time have an associated stack trace
>
> As a consequence I'd like to modify the default log4.properties file  
> so that info level logs are printed by default (at least for all  
> org.xwiki.* code).
>
> Here's my +1
>
> Thanks
> -Vincent

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to