| From: | amul sul <sul_amul(at)yahoo(dot)co(dot)in> |
|---|---|
| To: | Kal Sze <swordangel(at)gmail(dot)com> |
| Cc: | "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
| Subject: | Re: Re: Why is LOG level below WARNING and ERROR for log_min_error_statement? |
| Date: | 2015-06-05 10:12:17 |
| Message-ID: | 682959468.3425560.1433499137950.JavaMail.yahoo@mail.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
>Put another way, what kinds of messages are included in the ERROR
>level? When the wrong data type is supplied for a table column? When a
>value in an COPY statement would violate a unique constraint? If so,
>why should LOG be even below ERROR?
Check log_min_error_statement(enum) description given in postgres document[1] as :
Valid values are DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1, INFO, NOTICE, WARNING, ERROR, LOG, FATAL, and PANIC. *The default is ERROR, which means statements causing errors, log messages, fatal errors, or panics will be logged*.
Regards,
Amul
1. postgres document : http://www.postgresql.org/docs/9.4/static/runtime-config-logging.html.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bianca Stephani | 2015-06-05 17:25:16 | Doubt about query |
| Previous Message | Kal Sze | 2015-06-05 06:44:22 | Re: Re: Why is LOG level below WARNING and ERROR for log_min_error_statement? |