From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Locale support is now on by default |
Date: | 2002-04-03 23:57:46 |
Message-ID: | 200204032357.g33Nvk712959@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > > > Server levels are:
> > > >
> > > > # debug5, debug4, debug3, debug2, debug1,
> > > > # info, notice, warning, error, log, fatal, panic
> > >
> > > I don't recall log being so high. Didn't it use to be after info?
> > > Certainly there should be a way to see only warnings, errors, and higher
> > > without seeing the "unimportant" log messages. Actually, I'm also
> > > confused why we now have info, notice, *and* warning. Shouldn't two of
> > > these be enough?
> >
> > We added NOTICE and INFO and WARNING because they were required. INFO
> > is for SET-like information, NOTICE is for non-warnings like sequence
> > creation for SERIAL, and WARNING is for real warnings like identifier
> > truncation.
>
> OK, let me phrase my question clearly: How can I turn off LOG and turn on
> all errors in the server log?
Right now, you can't. I originally had LOG next to INFO, and for server
it was INFO, then LOG, and for client, it was LOG, then INFO, but
someone suggested that LOG should be between ERROR and FATAL because
most people want LOG stuff before they want to see ERROR/WARNING/NOTICE
in the server logs.
If you would prefer LOG down near INFO in the server message levels,
please post the idea and let's get some more comments from folks.
We thought about going with a bitwise capability where you could turn on
different messages types independently, but the use of that with SET and
the confusion hardly seemed worth it.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 2002-04-04 01:08:48 | Re: Question: update and transaction isolation |
Previous Message | Peter Eisentraut | 2002-04-03 23:19:31 | Re: Suggestions please: names for function cachabilityattributes |