Navigation Menu

Skip to content

Commit

Permalink
Ignore query log
Browse files Browse the repository at this point in the history
Because it isn't usable when query API is not used.

[groonga-dev,01044]

Reported by akiyan. Thanks!!!
  • Loading branch information
kou committed Oct 24, 2012
1 parent 4570c52 commit 1900c6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ha_mroonga.cpp
Expand Up @@ -594,6 +594,12 @@ static void mrn_logger_func(int level, const char *time, const char *title,
const char *msg, const char *location,
void *func_arg)
{
// TODO: REMOVE ME if groonga supports query logger.
// level == GRN_LOG_NONE means the log is query log.
if (level == GRN_LOG_NONE) {
return;
}

const char slev[] = " EACewnid-";
if (mrn_log_file_opened) {
pthread_mutex_lock(&mrn_log_mutex);
Expand Down

0 comments on commit 1900c6d

Please sign in to comment.