Browse Source

[trac1061] Logging descriptions

Michal 'vorner' Vaner 13 years ago
parent
commit
3702df52de
1 changed files with 13 additions and 8 deletions
  1. 13 8
      src/lib/datasrc/datasrc_messages.mes

+ 13 - 8
src/lib/datasrc/datasrc_messages.mes

@@ -400,12 +400,22 @@ enough information for it.  The code is 1 for error, 2 for not implemented.
 
 
 % DATASRC_SQLITE_CLOSE closing SQLite database
 % DATASRC_SQLITE_CLOSE closing SQLite database
 Debug information. The SQLite data source is closing the database file.
 Debug information. The SQLite data source is closing the database file.
+
+% DATASRC_SQLITE_CONNOPEN Opening sqlite database file '%1'
+The database file is being opened so it can start providing data.
+
+% DATASRC_SQLITE_CONNCLOSE Closing sqlite database
+The database file is no longer needed and is being closed.
+
 % DATASRC_SQLITE_CREATE SQLite data source created
 % DATASRC_SQLITE_CREATE SQLite data source created
 Debug information. An instance of SQLite data source is being created.
 Debug information. An instance of SQLite data source is being created.
 
 
 % DATASRC_SQLITE_DESTROY SQLite data source destroyed
 % DATASRC_SQLITE_DESTROY SQLite data source destroyed
 Debug information. An instance of SQLite data source is being destroyed.
 Debug information. An instance of SQLite data source is being destroyed.
 
 
+% DATASRC_SQLITE_DROPCONN SQLite3Connection is being deinitialized
+The object around a database connection is being destroyed.
+
 % DATASRC_SQLITE_ENCLOSURE looking for zone containing '%1'
 % DATASRC_SQLITE_ENCLOSURE looking for zone containing '%1'
 Debug information. The SQLite data source is trying to identify which zone
 Debug information. The SQLite data source is trying to identify which zone
 should hold this domain.
 should hold this domain.
@@ -458,6 +468,9 @@ source.
 The SQLite data source was asked to provide a NSEC3 record for given zone.
 The SQLite data source was asked to provide a NSEC3 record for given zone.
 But it doesn't contain that zone.
 But it doesn't contain that zone.
 
 
+% DATASRC_SQLITE_NEWCONN SQLite3Connection is being initialized
+A wrapper object to hold database connection is being initialized.
+
 % DATASRC_SQLITE_OPEN opening SQLite database '%1'
 % DATASRC_SQLITE_OPEN opening SQLite database '%1'
 Debug information. The SQLite data source is loading an SQLite database in
 Debug information. The SQLite data source is loading an SQLite database in
 the provided file.
 the provided file.
@@ -496,11 +509,3 @@ data source.
 % DATASRC_UNEXPECTED_QUERY_STATE unexpected query state
 % DATASRC_UNEXPECTED_QUERY_STATE unexpected query state
 This indicates a programming error. An internal task of unknown type was
 This indicates a programming error. An internal task of unknown type was
 generated.
 generated.
-
-% DATASRC_SQLITE_NEWCONN TODO
-
-% DATASRC_SQLITE_DROPCONN TODO
-
-% DATASRC_SQLITE_CONNOPEN TODO
-
-% DATASRC_SQLITE_CONNCLOSE TODO