Ask Your Question
0

Internationalization for debug logs

asked 2014-06-06 05:15:43 -0500

freenavigator gravatar image

Would like to know what is the significance of enabling internationalization for debug logging! "Internationalization" section of cinder developer documentation specifies "debug log" as an example while on the other hand it says "user-facing strings" in log messages. So is it kind of documentation bug or there is convention to enable internationalization for log messages irrespective of log-level.

edit retag flag offensive close merge delete

Comments

Can you please edit the question and add the URL of the documents you're quoting so we can have a better idea of the context you're into?

smaffulli gravatar imagesmaffulli ( 2014-06-06 16:47:10 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-06-06 23:31:50 -0500

freenavigator gravatar image

I got the answer from IRC. There is inconsistency in the cinder developer documentation @ http://docs.openstack.org/developer/c... about use of log translation with debug-level log (where debug log is given as an example for translation). which violates the rules of logging standards @ https://wiki.openstack.org/wiki/Loggi... . So cinder dev-doc should be ported to logging standard (log translation)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-06 05:15:43 -0500

Seen: 79 times

Last updated: Jun 06 '14