BIND 10 trac2944, updated. d41e0dbe07fbde0aea15067a2256ac8383ce69c5 [2944] Wording update

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Aug 13 07:13:57 UTC 2013


The branch, trac2944 has been updated
       via  d41e0dbe07fbde0aea15067a2256ac8383ce69c5 (commit)
       via  daa1df8df37d6077ef2014457967979c9c7d1da6 (commit)
      from  fef265b2e3bfae238c91bfd820bed760efc748aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d41e0dbe07fbde0aea15067a2256ac8383ce69c5
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Tue Aug 13 09:12:08 2013 +0200

    [2944] Wording update

commit daa1df8df37d6077ef2014457967979c9c7d1da6
Author: David Carlier <dcarlier at afilias.info>
Date:   Tue Aug 13 09:01:47 2013 +0200

    [2944] Eliminate duplicate log IDs in stats

-----------------------------------------------------------------------

Summary of changes:
 src/bin/stats/stats.py.in        |    6 +++---
 src/bin/stats/stats_messages.mes |   10 +++++++++-
 2 files changed, 12 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/stats/stats.py.in b/src/bin/stats/stats.py.in
index 7ec530b..1f583dd 100755
--- a/src/bin/stats/stats.py.in
+++ b/src/bin/stats/stats.py.in
@@ -249,7 +249,7 @@ class Stats:
             {'lname': self.cc_session.lname,
              'boot_time': get_datetime(_BASETIME),
              'last_update_time': get_datetime()}):
-            logger.warn(STATS_RECEIVED_INVALID_STATISTICS_DATA,
+            logger.warn(STATS_RECEIVED_INVALID_INIT_STATISTICS_DATA,
                         self.module_name)
         # define the variable of the last time of polling
         self._lasttime_poll = 0.0
@@ -348,7 +348,7 @@ class Stats:
             (_module_name, _lname, _args) = _statistics_data.pop(0)
             if self.update_statistics_data(_module_name, _lname, _args):
                 logger.warn(
-                STATS_RECEIVED_INVALID_STATISTICS_DATA,
+                STATS_RECEIVED_INVALID_POLLING_ACCUM_STATISTICS_DATA,
                 _module_name)
             else:
                 if self.update_statistics_data(
@@ -356,7 +356,7 @@ class Stats:
                     self.cc_session.lname,
                     {'last_update_time': get_datetime()}):
                     logger.warn(
-                        STATS_RECEIVED_INVALID_STATISTICS_DATA,
+                        STATS_RECEIVED_INVALID_POLLING_SELF_STATISTICS_DATA,
                         self.module_name)
         # if successfully done, set the last time of polling
         self._lasttime_poll = get_timestamp()
diff --git a/src/bin/stats/stats_messages.mes b/src/bin/stats/stats_messages.mes
index b6f0b16..8300d2a 100644
--- a/src/bin/stats/stats_messages.mes
+++ b/src/bin/stats/stats_messages.mes
@@ -27,7 +27,15 @@ control bus. A likely problem is that the message bus daemon
 % STATS_EXITING exiting
 The stats module process is exiting.
 
-% STATS_RECEIVED_INVALID_STATISTICS_DATA received invalid statistics data from %1
+% STATS_RECEIVED_INVALID_INIT_STATISTICS_DATA received invalid statistics data from %1
+Invalid statistics data has been received from the module while
+initializing and it has been discarded.
+
+% STATS_RECEIVED_INVALID_POLLING_ACCUM_STATISTICS_DATA received invalid statistics data from %1
+Invalid statistics data has been received from the module while
+polling and it has been discarded.
+
+% STATS_RECEIVED_INVALID_POLLING_SELF_STATISTICS_DATA received invalid statistics data from %1
 Invalid statistics data has been received from the module while
 polling and it has been discarded.
 



More information about the bind10-changes mailing list