mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Increase the default value of log_min_messages to WARNING, so that
NOTICE-grade messages are not logged by default. Per pgsql-hackers discussion back on 21-Nov-2007.
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.434 2008/03/09 04:56:28 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.435 2008/03/10 03:22:29 tgl Exp $
|
||||
*
|
||||
*--------------------------------------------------------------------
|
||||
*/
|
||||
@ -209,7 +209,7 @@ bool SQL_inheritance = true;
|
||||
bool Password_encryption = true;
|
||||
|
||||
int log_min_error_statement = ERROR;
|
||||
int log_min_messages = NOTICE;
|
||||
int log_min_messages = WARNING;
|
||||
int client_min_messages = NOTICE;
|
||||
int log_min_duration_statement = -1;
|
||||
int log_temp_files = -1;
|
||||
@ -1935,7 +1935,7 @@ static struct config_string ConfigureNamesString[] =
|
||||
"includes all the levels that follow it.")
|
||||
},
|
||||
&log_min_messages_str,
|
||||
"notice", assign_log_min_messages, NULL
|
||||
"warning", assign_log_min_messages, NULL
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -278,7 +278,7 @@
|
||||
# warning
|
||||
# error
|
||||
|
||||
#log_min_messages = notice # values in order of decreasing detail:
|
||||
#log_min_messages = warning # values in order of decreasing detail:
|
||||
# debug5
|
||||
# debug4
|
||||
# debug3
|
||||
|
Reference in New Issue
Block a user