[Groonga-mysql-commit] mroonga/mroonga [master] changed log file name from "mroonga.log" to "groonga.log" and initialization message.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 11月 16日 (火) 18:38:27 JST


Tetsuro IKEDA	2010-11-16 09:38:27 +0000 (Tue, 16 Nov 2010)

  New Revision: be12349f894ace77ea6a73f5fecb9f5ef48e143e

  Log:
    changed log file name from "mroonga.log" to "groonga.log" and initialization message.

  Modified files:
    ha_mroonga.cc
    mrnsys.h

  Modified: ha_mroonga.cc (+1 -1)
===================================================================
--- ha_mroonga.cc    2010-11-16 09:12:30 +0000 (e8081ca)
+++ ha_mroonga.cc    2010-11-16 09:38:27 +0000 (46b6ef2)
@@ -244,7 +244,7 @@ int mrn_init(void *p)
     goto err;
   }
   mrn_logfile_opened = 1;
-  GRN_LOG(ctx, GRN_LOG_NOTICE, "%s init", MRN_PACKAGE_STRING);
+  GRN_LOG(ctx, GRN_LOG_NOTICE, "%s started.", MRN_PACKAGE_STRING);
 
   // init meta-info database
   if (!(mrn_db = grn_db_create(ctx, NULL, NULL))) {

  Modified: mrnsys.h (+2 -2)
===================================================================
--- mrnsys.h    2010-11-16 09:12:30 +0000 (d263ba0)
+++ mrnsys.h    2010-11-16 09:38:27 +0000 (df968dd)
@@ -21,12 +21,12 @@
 #include <groonga.h>
 
 /* constants */
-#define MRN_PACKAGE_STRING "mroonga 0.1"
+#define MRN_PACKAGE_STRING "groonga-storage-engine"
 #define MRN_MAX_KEY_SIZE 1024
 #define MRN_MAX_PATH_SIZE 256
 #define MRN_MAX_EXPRS 32
 #define MRN_DB_FILE_SUFFIX ".mrn"
-#define MRN_LOG_FILE_NAME "mroonga.log"
+#define MRN_LOG_FILE_NAME "groonga.log"
 #define MRN_LEX_SUFFIX "_lex"
 #define MRN_HASH_SUFFIX "_hash"
 #define MRN_PAT_SUFFIX "_pat"




Groonga-mysql-commit メーリングリストの案内
Back to archive index