Re: debug_level 0 does not stop debug messages

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jon <polandj(at)engin(dot)umich(dot)edu>
Cc: Justin Clift <justin(at)postgresql(dot)org>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: debug_level 0 does not stop debug messages
Date: 2001-05-03 16:13:23
Message-ID: 200105031613.f43GDOJ28992@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


Can you give me a few sample lines that you are seeing in the log?

> Hi,
> I'm not using pg_ctl, I'm using postmaster directly. So, in my case I
> tried passing "-d0" to it, but it had no effect. Command line:
>
> postmaster -i -d0 -D /var/pgsql/data -c syslog=2
>
> Any ideas? I could patch the code to remove the excessive elog's in the
> vacuum command, but I'd rather understand how elog interacts with the
> global DebugLvl variable.
>
> JP
>
> On Tue, 1 May 2001, Justin Clift wrote:
> > Hi,
> >
> > This might sound weird, but try "
> >
> > pg_ctl start -o '-d0'
> >
> > Include any other options you need of course too. The point is not
> > having a space between the -d and the 0.
> >
> > This fixes things for me when I have the default startup options
> > different, but need logging off for a while.
> >
> > Regards and best wishes,
> >
> > Justin Clift
> >
> > pgsql-bugs(at)postgresql(dot)org wrote:
> > >
> > > JP (smasher(at)bikerider(dot)com) reports a bug with a severity of 2
> > > The lower the number the more severe it is.
> > >
> > > Short Description
> > > debug_level 0 does not stop debug messages
> > >
> > > Long Description
> > > I'm trying to silence the annoying output generated by vacuum. I've
> > > tried both command line options (-d 0, -S (with syslog enabled)) and
> > > postgresql.conf (debug_level = 0, silent_mode = 1). Setting debug
> > > level to 0 should silence these messages, but still let errors through. Setting debug level higher seems to generate more output, which is great. just be nice if the vacuum output were at level 3 or
> > > greater.
> > >
> > > Platform: OpenBSD 2.8 (i386)
> > > PG Version: 7.1
> > >
> > > Sample Code
> > >
> > > No file was uploaded with this report
> > >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
> >
> > --
> > "My grandfather once told me that there are two kinds of people: those
> > who work and those who take the credit. He told me to try to be in the
> > first group; there was less competition there."
> > - Indira Gandhi
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2001-05-03 16:13:40 Re: Problem building PostgreSQL 7.1 with readline-4.2
Previous Message Vivek Khera 2001-05-03 16:11:08 Re: freebsd sample startup script doesn't work