pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
log file
5+ messages / 5 participants
[nested] [flat]

* log file
@ 2001-06-20 04:44 Jie Liang <jliang@ipinc.com>
  2001-06-20 10:02 ` Re: [SQL] log file Richard Huxton <dev@archonet.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Jie Liang @ 2001-06-20 04:44 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-sql@postgresql.org; pgsql-admin

Tom,

We turn on the log file by:
In file 'postgresql.conf'
syslog = 2 # range 0-2
syslog_facility = 'LOCAL0'
syslog_ident = 'postgres'

1. It seems that postmaster writes stuff undef /db/pgsql/pg_xlog
   (they are not text files).
2. the log file I expected (I want log include SQL statement and ERROR)
   Just have NOTICE and DEBUG info.

How to choose these options??

Thanks.


Jie LIANG

St. Bernard Software

10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873

jliang@ipinc.com
www.stbernard.com
www.ipinc.com





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [SQL] log file
  2001-06-20 04:44 log file Jie Liang <jliang@ipinc.com>
@ 2001-06-20 10:02 ` Richard Huxton <dev@archonet.com>
  2001-06-20 14:54   ` Re: [SQL] log file Josh Berkus <josh@agliodbs.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Richard Huxton @ 2001-06-20 10:02 UTC (permalink / raw)
  To: Jie Liang <jliang@ipinc.com>; Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-sql@postgresql.org; pgsql-admin

From: "Jie Liang" <jliang@ipinc.com>

> Tom,
>
> We turn on the log file by:
> In file 'postgresql.conf'
> syslog = 2 # range 0-2
> syslog_facility = 'LOCAL0'
> syslog_ident = 'postgres'
>
> 1. It seems that postmaster writes stuff undef /db/pgsql/pg_xlog
>    (they are not text files).

pg_xlog stuff is WAL related (Ch 9 Administrators guide)

> 2. the log file I expected (I want log include SQL statement and ERROR)
>    Just have NOTICE and DEBUG info.

I *think* you want DEBUG_PRINT_QUERY and its friends. See Ch 3.4.2 of the
Administrators Guide.

HTH

- Richard Huxton




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [SQL] log file
  2001-06-20 04:44 log file Jie Liang <jliang@ipinc.com>
  2001-06-20 10:02 ` Re: [SQL] log file Richard Huxton <dev@archonet.com>
@ 2001-06-20 14:54   ` Josh Berkus <josh@agliodbs.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Josh Berkus @ 2001-06-20 14:54 UTC (permalink / raw)
  To: Richard Huxton <dev@archonet.com>; Jie Liang <jliang@ipinc.com>; +Cc: pgsql-sql@postgresql.org; pgsql-admin

Richard, Jiang,

> I *think* you want DEBUG_PRINT_QUERY and its friends. See Ch 3.4.2 of
> the
> Administrators Guide.

Actually, Jiang need to re-start the postmaster with the command-line
options for logging set.  Annoyingly, the default init.d script for
Postgres in most RPMs starts Postgres without any logging.

Unfortunately, I'm at a remote terminal right now, so I can't post an
example.

-Josh Berkus


______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Log File
@ 2007-07-13 10:01 Jayakumar_Mukundaraju <Jayakumar_Mukundaraju@satyam.com>
  2007-07-13 11:04 ` Re: Log File Vishal Arora <aroravishal22@hotmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Jayakumar_Mukundaraju @ 2007-07-13 10:01 UTC (permalink / raw)
  To: Vishal Arora <aroravishal22@hotmail.com>; ashish.karalkar@info-spectrum.com; pgsql-admin

Dear Vishal,
 
I herewith attached log file of my postgres.. Kindly look into it..
 
Thanks & Regards
Jayakumar M
 

 


DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

Attachments:

  postgresql-2007-07-13_000000.log (application/octet-stream, 4.9K) download

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Log File
  2007-07-13 10:01 Log File Jayakumar_Mukundaraju <Jayakumar_Mukundaraju@satyam.com>
@ 2007-07-13 11:04 ` Vishal Arora <aroravishal22@hotmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Vishal Arora @ 2007-07-13 11:04 UTC (permalink / raw)
  To: Jayakumar_Mukundaraju@satyam.com; ashish.karalkar@info-spectrum.com; pgsql-admin

Do you have pgpass.conf file in place? it shows the password authentication 
failed for that particular user.

On Microsoft Windows the file is named %APPDATA%\postgresql\pgpass.conf 
(where
%APPDATA% refers to the Application Data subdirectory in the user’s 
profile).

Could you also send the event viewer Application log file.


>From: "Jayakumar_Mukundaraju" <Jayakumar_Mukundaraju@satyam.com>
>To: "Vishal Arora" <aroravishal22@hotmail.com>,        
><ashish.karalkar@info-spectrum.com>, <pgsql-admin@postgresql.org>
>Subject: [ADMIN] Log File
>Date: Fri, 13 Jul 2007 15:31:59 +0530
>
>Dear Vishal,
>
>I herewith attached log file of my postgres.. Kindly look into it..
>
>Thanks & Regards
>Jayakumar M
>
>
>
>
>
>DISCLAIMER:
>This email (including any attachments) is intended for the sole use of the 
>intended recipient/s and may contain material that is CONFIDENTIAL AND 
>PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or 
>distribution or forwarding of any or all of the contents in this message is 
>STRICTLY PROHIBITED. If you are not the intended recipient, please contact 
>the sender by email and delete all copies; your cooperation in this regard 
>is appreciated.


><< postgresql-2007-07-13_000000.log >>


>
>---------------------------(end of broadcast)---------------------------
>TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly

_________________________________________________________________
http://newlivehotmail.com




^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2007-07-13 11:04 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-06-20 04:44 log file Jie Liang <jliang@ipinc.com>
2001-06-20 10:02 ` Richard Huxton <dev@archonet.com>
2001-06-20 14:54   ` Josh Berkus <josh@agliodbs.com>
2007-07-13 10:01 Log File Jayakumar_Mukundaraju <Jayakumar_Mukundaraju@satyam.com>
2007-07-13 11:04 ` Re: Log File Vishal Arora <aroravishal22@hotmail.com>

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