diff options
| author | 2002-12-18 01:39:28 +0000 | |
|---|---|---|
| committer | 2002-12-18 01:39:28 +0000 | |
| commit | feffa25905c80cdab114ff90db135a48e3a71f4e (patch) | |
| tree | 1aa6a71ca0d34351755c1e3769a5c112100dbeda | |
| parent | 0d8d2676e9b345eb66d2d3a145fbf64d1429a9b2 (diff) | |
Removed message about insufficient info to log.1.18
| -rw-r--r-- | CHANGELOG | 3 | ||||
| -rw-r--r-- | Documentation/documentation.lyx | 27 | ||||
| -rw-r--r-- | mod_log_sql.c | 1 |
3 files changed, 4 insertions, 27 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | $Id: CHANGELOG,v 1.19 2002/12/18 01:06:32 helios Exp $ | 1 | $Id: CHANGELOG,v 1.20 2002/12/18 01:39:28 helios Exp $ |
| 2 | 2 | ||
| 3 | TODO: | 3 | TODO: |
| 4 | * Rethink documentation flow and rewrite? | 4 | * Rethink documentation flow and rewrite? |
| @@ -43,7 +43,6 @@ CHANGES: | |||
| 43 | * Renamed safe_mysql_query() to safe_sql_query(). | 43 | * Renamed safe_mysql_query() to safe_sql_query(). |
| 44 | * Now check for minimum configuration info to establish db link and | 44 | * Now check for minimum configuration info to establish db link and |
| 45 | log an error if it's insufficient. | 45 | log an error if it's insufficient. |
| 46 | * Log a message if the config is insufficient for logging. | ||
| 47 | 46 | ||
| 48 | 47 | ||
| 49 | 1.17: | 48 | 1.17: |
diff --git a/Documentation/documentation.lyx b/Documentation/documentation.lyx index ba02f76..a678315 100644 --- a/Documentation/documentation.lyx +++ b/Documentation/documentation.lyx | |||
| @@ -675,15 +675,15 @@ sources | |||
| 675 | , find using 'locate ABOUT_APACHE' | 675 | , find using 'locate ABOUT_APACHE' |
| 676 | \layout Description | 676 | \layout Description |
| 677 | 677 | ||
| 678 | APACHEHEADERS: The location of your Apache header files, find using 'locate | 678 | APACHEHEADERS: the location of your Apache header files, find using 'locate |
| 679 | httpd.h' | 679 | httpd.h' |
| 680 | \layout Description | 680 | \layout Description |
| 681 | 681 | ||
| 682 | MYSQLLIBRARIES: The location of your MySQL libraries, find using 'locate | 682 | MYSQLLIBRARIES: the location of your MySQL libraries, find using 'locate |
| 683 | libmysqlclient.so' | 683 | libmysqlclient.so' |
| 684 | \layout Description | 684 | \layout Description |
| 685 | 685 | ||
| 686 | MYSQLHEADERS: The location of your MySQL header files, find using 'locate | 686 | MYSQLHEADERS: the location of your MySQL header files, find using 'locate |
| 687 | mysql.h' | 687 | mysql.h' |
| 688 | \end_deeper | 688 | \end_deeper |
| 689 | \layout Enumerate | 689 | \layout Enumerate |
| @@ -5862,27 +5862,6 @@ Why do I get the message | |||
| 5862 | \begin_inset Quotes eld | 5862 | \begin_inset Quotes eld |
| 5863 | \end_inset | 5863 | \end_inset |
| 5864 | 5864 | ||
| 5865 | configuration info is insufficient to log | ||
| 5866 | \begin_inset Quotes erd | ||
| 5867 | \end_inset | ||
| 5868 | |||
| 5869 | in my Apache error log? | ||
| 5870 | \layout Standard | ||
| 5871 | |||
| 5872 | At a minimum, | ||
| 5873 | \noun on | ||
| 5874 | LogSQLTransferLogTable | ||
| 5875 | \noun default | ||
| 5876 | must be defined for the module to even attempt logging. | ||
| 5877 | If this directive is not defined for the server (or virtual server) you | ||
| 5878 | will receive this error message. | ||
| 5879 | |||
| 5880 | \layout Subsubsection | ||
| 5881 | |||
| 5882 | Why do I get the message | ||
| 5883 | \begin_inset Quotes eld | ||
| 5884 | \end_inset | ||
| 5885 | |||
| 5886 | insufficient configuration info to establish database link | 5865 | insufficient configuration info to establish database link |
| 5887 | \begin_inset Quotes erd | 5866 | \begin_inset Quotes erd |
| 5888 | \end_inset | 5867 | \end_inset |
diff --git a/mod_log_sql.c b/mod_log_sql.c index d604e78..f02243e 100644 --- a/mod_log_sql.c +++ b/mod_log_sql.c | |||
| @@ -1366,7 +1366,6 @@ int log_sql_transaction(request_rec *orig) | |||
| 1366 | 1366 | ||
| 1367 | /* Do we have enough info to log? */ | 1367 | /* Do we have enough info to log? */ |
| 1368 | if (!cls->transfer_table_name) { | 1368 | if (!cls->transfer_table_name) { |
| 1369 | ap_log_error(APLOG_MARK,ERRLEVEL,orig->server,"mod_log_sql: configuration info is insufficient to log (hint: LogSQLTransferLogTable)"); | ||
| 1370 | return DECLINED; | 1369 | return DECLINED; |
| 1371 | } else { | 1370 | } else { |
| 1372 | const char *thehost; | 1371 | const char *thehost; |
