[
https://issues.apache.org/jira/browse/MYFACES-3235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070387#comment-13070387
]
Martin Kočí commented on MYFACES-3235:
--------------------------------------
> i18n in logs is TOTALLY overrated
> Please no i18n-ized error messages in the console!
Yes, I totally agree. The purpose of this is not to internationalize logging,
but only provide possibility to do so.
The main purpose is:
1) remove message strings from code and move them to resource bundle (in en);
advantage: maintain messages (in en) in one place
2) provide unique message code. advantage: "MYFACES00100 : something is wrong
here...." , unique identification in code
3) provide detail description for problem like "The used f:converter tag is not
sufficient to create converter instance. Examples of valid tag are <f:converter
converterId="someConverterId" /> or <f:converter binding="#{aConverter}".
Please see VDL docs f:converter for details." Advantage: user gets hint what to
do to solve the problem; we can improve this bundles when question occurs in
user mailing list
Image : https://issues.apache.org/jira/secure/attachment/12487331/After2.png
For my developers I will localize those message in czech to prevent excuses
like 'I don't understand what does it mean'.
> Create infrastructure for improved logging
> -------------------------------------------
>
> Key: MYFACES-3235
> URL: https://issues.apache.org/jira/browse/MYFACES-3235
> Project: MyFaces Core
> Issue Type: Sub-task
> Components: General
> Reporter: Martin Kočí
> Assignee: Martin Kočí
> Priority: Minor
> Attachments: MYFACES-3235.patch
>
>
> Create classes like MyfacesLogger, MyfacesLogRecord etc. like Trinidad has.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira