pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPls. help me to clarify my doubts.
4+ messages / 4 participants
[nested] [flat]
* Pls. help me to clarify my doubts.
@ 2003-07-04 15:55 Arumugam <arumugam_ask@sifycorp.com>
0 siblings, 1 reply; 4+ messages in thread
From: Arumugam @ 2003-07-04 15:55 UTC (permalink / raw)
To: scrappy@hub.org
hi,
Sir, i follow your procedure of Postgres installation (version 7.1.3) on linux 2.4.7-10.
I want to know how to enable syslog and mention the log information will store in /var/postgreslog directory path..
Then, give me the complete information & steps for installtion of postgres 7.1.3 and enable logs.
I need this logs will contains the all errors will stores. This logs just like a alertlog in oracle.
Kindly, give me this details as soonly,
Regards,
arumugam.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Pls. help me to clarify my doubts.
@ 2003-07-06 06:15 mallah@trade-india.com
parent: Arumugam <arumugam_ask@sifycorp.com>
0 siblings, 1 reply; 4+ messages in thread
From: mallah@trade-india.com @ 2003-07-06 06:15 UTC (permalink / raw)
To: arumugam_ask@sifycorp.com; +Cc: pgsql-admin
> hi,
>
> Sir, i follow your procedure of Postgres installation (version 7.1.3)
> on linux 2.4.7-10.
>
> I want to know how to enable syslog and mention the log information
> will store in /var/postgreslog directory path..
not sure abt 7.1.3 , but in 7.3.3 u can do the following.
In postgresql.conf file
#
# Syslog
#
syslog = 2 # range 0-2
syslog_facility = 'LOCAL0'
syslog_ident = 'postgres'
in /etc/syslog.conf file
local0.* /var/postgreslog
note that this will put *all* the messages from all applications
using local0 facility to /var/postgreslog
regds
mallah.
>
> Then, give me the complete information & steps for installtion of
> postgres 7.1.3 and enable logs.
>
> I need this logs will contains the all errors will stores. This logs
> just like a alertlog in oracle.
>
> Kindly, give me this details as soonly,
>
> Regards,
> arumugam.
-----------------------------------------
Get your free web based email at trade-india.com.
"India's Leading B2B eMarketplace.!"
http://www.trade-india.com/
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Pls. help me to clarify my doubts.
@ 2003-07-06 09:44 Gaetano Mendola <gmendola@mbigroup.it>
parent: mallah@trade-india.com
0 siblings, 1 reply; 4+ messages in thread
From: Gaetano Mendola @ 2003-07-06 09:44 UTC (permalink / raw)
To: mallah@trade-india.com; arumugam_ask@sifycorp.com; +Cc: pgsql-admin
<mallah@trade-india.com> wrote:
> > hi,
> >
> > Sir, i follow your procedure of Postgres installation (version 7.1.3)
> > on linux 2.4.7-10.
> >
> > I want to know how to enable syslog and mention the log information
> > will store in /var/postgreslog directory path..
>
> not sure abt 7.1.3 , but in 7.3.3 u can do the following.
>
> In postgresql.conf file
>
> #
> # Syslog
> #
> syslog = 2 # range 0-2
> syslog_facility = 'LOCAL0'
> syslog_ident = 'postgres'
>
>
> in /etc/syslog.conf file
> local0.* /var/postgreslog
I remember you also that you can turn off the syslog to fsync each
log to the file putting a "-" before the filename:
local0.* -/var/postgreslog
this should increase the log performances
Regards
Gaetano Mendola
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Pls. help me to clarify my doubts.
@ 2003-07-07 10:33 Dani Oderbolz <oderbolz@ecologic.de>
parent: Gaetano Mendola <gmendola@mbigroup.it>
0 siblings, 0 replies; 4+ messages in thread
From: Dani Oderbolz @ 2003-07-07 10:33 UTC (permalink / raw)
To: pgsql-admin
Gaetano Mendola wrote:
><mallah@trade-india.com> wrote:
>
>
>>>hi,
>>>
>>>Sir, i follow your procedure of Postgres installation (version 7.1.3)
>>>on linux 2.4.7-10.
>>>
>>>I want to know how to enable syslog and mention the log information
>>>will store in /var/postgreslog directory path..
>>>
>>>
>>not sure abt 7.1.3 , but in 7.3.3 u can do the following.
>>
>>In postgresql.conf file
>>
>>#
>># Syslog
>>#
>>syslog = 2 # range 0-2
>>syslog_facility = 'LOCAL0'
>>syslog_ident = 'postgres'
>>
>>
>>in /etc/syslog.conf file
>>local0.* /var/postgreslog
>>
>>
>
>I remember you also that you can turn off the syslog to fsync each
>log to the file putting a "-" before the filename:
>
>local0.* -/var/postgreslog
>
>this should increase the log performances
>
>
>
But doesnt this mean that you could loose log data in case of a power
failure?
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-07-07 10:33 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-04 15:55 Pls. help me to clarify my doubts. Arumugam <arumugam_ask@sifycorp.com>
2003-07-06 06:15 ` mallah@trade-india.com
2003-07-06 09:44 ` Gaetano Mendola <gmendola@mbigroup.it>
2003-07-07 10:33 ` Dani Oderbolz <oderbolz@ecologic.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox