BIND 10 #2746: allow loading log messages manually and use it for Python datasrc
BIND 10 Development
do-not-reply at isc.org
Tue Mar 5 10:12:49 UTC 2013
#2746: allow loading log messages manually and use it for Python datasrc
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: defect | vorner
Priority: medium | Status:
Component: logging | reviewing
Keywords: | Milestone:
Sensitive: 0 | Sprint-20130305
Sub-Project: Core | Resolution:
Estimated Difficulty: 5 | CVSS Scoring:
Total Hours: 0 | Defect Severity: N/A
| Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Comment (by vorner):
Hello
It seems you forgot to add the `sqlite3_datasrc_messages.mes` to git, both
distcheck and compilation complain about it.
I think the `ignore_duplicates` parameter should be documented, also
noting it'll clear all previous duplicates stored.
A documentation of MessageInitializer class may need to be updated to note
when it is being used from dynamically loaded module, it might be needed
to call the `loadDictionary()`.
Also, I believe the whole exercise with the dictionaries was done so the
log messages can be translated and the messages then replaced by newer
dictionaries. But this kind of breaks it IMO (not that we would be doing
so, though). It would now look like this:
* Initialize the english built-in dictionaries.
* Load translations to override the already loaded messages.
* Load something from dynamic module. This'll override messages for that
module that were supplied with the translated module.
Also, changelog?
--
Ticket URL: <http://bind10.isc.org/ticket/2746#comment:7>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list