summaryrefslogtreecommitdiffstats
path: root/mod_log_sql_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'mod_log_sql_mysql.c')
-rw-r--r--mod_log_sql_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod_log_sql_mysql.c b/mod_log_sql_mysql.c
index 5c426c9..89553d2 100644
--- a/mod_log_sql_mysql.c
+++ b/mod_log_sql_mysql.c
@@ -55,7 +55,7 @@ static logsql_opendb_ret log_sql_mysql_connect(server_rec *s, logsql_dbconnectio
55 host, tcpport, database, user, socketfile); 55 host, tcpport, database, user, socketfile);
56 return LOGSQL_OPENDB_SUCCESS; 56 return LOGSQL_OPENDB_SUCCESS;
57 } else { 57 } else {
58 log_error(APLOG_MARK,APLOG_ERR,0, s,"mod_log_sql: database connection error: %s", 58 log_error(APLOG_MARK,APLOG_ERR,0, s,"mod_log_sql_mysql: database connection error: mysql error: %s",
59 MYSQL_ERROR(dblink)); 59 MYSQL_ERROR(dblink));
60 log_error(APLOG_MARK,APLOG_DEBUG, 0, s,"HOST: '%s' PORT: '%d' DB: '%s' USER: '%s' SOCKET: '%s'", 60 log_error(APLOG_MARK,APLOG_DEBUG, 0, s,"HOST: '%s' PORT: '%d' DB: '%s' USER: '%s' SOCKET: '%s'",
61 host, tcpport, database, user, socketfile); 61 host, tcpport, database, user, socketfile);