syslog support by default
syslog support by default
От:
Tatsuo Ishii <t-ishii@sra.co.jp>
Дата:
Can we enable syslog support by default for 7.3? -- Tatsuo Ishii
Re: syslog support by default
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Tatsuo Ishii writes: > Can we enable syslog support by default for 7.3? AFAIR, we agreed to flip the default some time ago, we just didn't want to do it late in the 7.2 cycle. Go for it. regards, tom lane
Re: syslog support by default
От:
Tatsuo Ishii <t-ishii@sra.co.jp>
Дата:
> Tatsuo Ishii writes: > > Can we enable syslog support by default for 7.3? > > AFAIR, we agreed to flip the default some time ago, we just didn't > want to do it late in the 7.2 cycle. Go for it. Ok. I'll work on this. -- Tatsuo Ishii
Re: syslog support by default
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Tom Lane writes: > Tatsuo Ishii writes: > > Can we enable syslog support by default for 7.3? > > AFAIR, we agreed to flip the default some time ago, we just didn't > want to do it late in the 7.2 cycle. Go for it. I think if no one complains about the lack of syslog on his machine we should just remove the option in 7.3+1. -- Peter Eisentraut peter_e@gmx.net
Re: syslog support by default
От:
Hannu Krosing <hannu@tm.ee>
Дата:
On Fri, 2002-04-19 at 05:28, Peter Eisentraut wrote: > Tom Lane writes: > > > Tatsuo Ishii writes: > > > Can we enable syslog support by default for 7.3? > > > > AFAIR, we agreed to flip the default some time ago, we just didn't > > want to do it late in the 7.2 cycle. Go for it. > > I think if no one complains about the lack of syslog on his machine we > should just remove the option in 7.3+1. My experience has been that logging to syslog makes postgres much slower. Can anyone confirm or refute this ? -------------- Hannu
Re: syslog support by default
От:
Tatsuo Ishii <t-ishii@sra.co.jp>
Дата:
> > > > Can we enable syslog support by default for 7.3? > > > > > > AFAIR, we agreed to flip the default some time ago, we just didn't > > > want to do it late in the 7.2 cycle. Go for it. > > > > I think if no one complains about the lack of syslog on his machine we > > should just remove the option in 7.3+1. > > My experience has been that logging to syslog makes postgres much > slower. What's the problem with this? Even if that's true, you could easily turn off syslog logging by tweaking postgresql.conf. -- Tatsuo Ishii
Re: syslog support by default
От:
Mario Weilguni <mweilguni@sime.com>
Дата:
> My experience has been that logging to syslog makes postgres much > slower. > > Can anyone confirm or refute this ? Do you use synchronous write with syslog? Try to add a dash in /etc/syslog.conf e.g. instead of local3.* /var/log/syslog.postgres use local3.* -/var/log/syslog.postgres
Re: syslog support by default
От:
Hannu Krosing <hannu@tm.ee>
Дата:
On Fri, 2002-04-19 at 08:15, Tatsuo Ishii wrote: > > > > > Can we enable syslog support by default for 7.3? > > > > > > > > AFAIR, we agreed to flip the default some time ago, we just didn't > > > > want to do it late in the 7.2 cycle. Go for it. > > > > > > I think if no one complains about the lack of syslog on his machine we > > > should just remove the option in 7.3+1. > > > > My experience has been that logging to syslog makes postgres much > > slower. > > What's the problem with this? Even if that's true, you could easily > turn off syslog logging by tweaking postgresql.conf. I was worried about the comment of removing the other options. in 7.3+1. At least this is how i interpreted that comment. ------------- Hannu
Re: syslog support by default
От:
Tatsuo Ishii <t-ishii@sra.co.jp>
Дата:
> On Fri, 2002-04-19 at 08:15, Tatsuo Ishii wrote: > > > > > > Can we enable syslog support by default for 7.3? > > > > > > > > > > AFAIR, we agreed to flip the default some time ago, we just didn't > > > > > want to do it late in the 7.2 cycle. Go for it. > > > > > > > > I think if no one complains about the lack of syslog on his machine we > > > > should just remove the option in 7.3+1. > > > > > > My experience has been that logging to syslog makes postgres much > > > slower. > > > > What's the problem with this? Even if that's true, you could easily > > turn off syslog logging by tweaking postgresql.conf. > > I was worried about the comment of removing the other options. in 7.3+1. > At least this is how i interpreted that comment. In my understanding we are going to turn on the --enable-syslog *configure* option by default (or remove the configuration option completely), but not change the syslog option in postgresql.conf (currently default to 0: that means not output to syslog). -- Tatsuo Ishii
Re: syslog support by default
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Tatsuo Ishii writes: > In my understanding we are going to turn on the --enable-syslog > *configure* option by default (or remove the configuration option > completely), but not change the syslog option in postgresql.conf > (currently default to 0: that means not output to syslog). Right. We are only going to make the syslog support code be there in the default build; we are not forcing anyone to use it. regards, tom lane
Re: syslog support by default
От:
Tatsuo Ishii <t-ishii@sra.co.jp>
Дата:
> Tatsuo Ishii writes: > > In my understanding we are going to turn on the --enable-syslog > > *configure* option by default (or remove the configuration option > > completely), but not change the syslog option in postgresql.conf > > (currently default to 0: that means not output to syslog). > > Right. We are only going to make the syslog support code be there > in the default build; we are not forcing anyone to use it. I have removed the --enable-syslog option. Now as far as the system has syslog(), the syslog support code is always in the build. If this seems ok, I will update the doc. -- Tatsuo Ishii
Re: syslog support by default
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Tatsuo Ishii writes: > I have removed the --enable-syslog option. Now as far as the system > has syslog(), the syslog support code is always in the build. > If this seems ok, I will update the doc. Seems reasonable. It might be a good idea for configure to verify that the header is present, as well as the syslog() library routine, before enabling HAVE_SYSLOG. regards, tom lane
Re: syslog support by default
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Tatsuo Ishii wrote: > > Tatsuo Ishii writes: > > > In my understanding we are going to turn on the --enable-syslog > > > *configure* option by default (or remove the configuration option > > > completely), but not change the syslog option in postgresql.conf > > > (currently default to 0: that means not output to syslog). > > > > Right. We are only going to make the syslog support code be there > > in the default build; we are not forcing anyone to use it. > > I have removed the --enable-syslog option. Now as far as the system > has syslog(), the syslog support code is always in the build. > If this seems ok, I will update the doc. TODO updated: * -Compile in syslog functionaility by default (Tatsuo) -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Re: syslog support by default
От:
Tatsuo Ishii <t-ishii@sra.co.jp>
Дата:
> Tatsuo Ishii writes: > > I have removed the --enable-syslog option. Now as far as the system > > has syslog(), the syslog support code is always in the build. > > If this seems ok, I will update the doc. > > Seems reasonable. It might be a good idea for configure to verify > that the header is present, as well as the syslog() library > routine, before enabling HAVE_SYSLOG. Done. -- Tatsuo Ishii