Thread: still no log

still no log

From
"Martin A. Marques"
Date:
Sorry for the insistence, but after looking and looking again, I can't find
out why the postgres logs are empty. The postgres database is up and working
great, but nothing is getting logged.
I'm on a RedHat Linux (6.0 with lot of upgrades)
postgres 7.0.3 from rpm (downoaded from the postgres ftp server)

Any ideas?

--
System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués            email:     martin@math.unl.edu.ar
Santa Fe - Argentina        http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

Re: still no log

From
Alfonso Peniche
Date:
Existe un archivo llamado postmaster.init en el directorio de postgres, en ese
directorio le especificas si quieres que use o no los logs. Ya revisaste ese
archivo?

"Martin A. Marques" wrote:

> Sorry for the insistence, but after looking and looking again, I can't find
> out why the postgres logs are empty. The postgres database is up and working
> great, but nothing is getting logged.
> I'm on a RedHat Linux (6.0 with lot of upgrades)
> postgres 7.0.3 from rpm (downoaded from the postgres ftp server)
>
> Any ideas?
>
> --
> System Administration: It's a dirty job,
> but someone told I had to do it.
> -----------------------------------------------------------------
> Martín Marqués                  email:  martin@math.unl.edu.ar
> Santa Fe - Argentina            http://math.unl.edu.ar/~martin/
> Administrador de sistemas en math.unl.edu.ar
> -----------------------------------------------------------------


Re: [HACKERS] still no log

From
"Oliver Elphick"
Date:
"Martin A. Marques" wrote:
  >Sorry for the insistence, but after looking and looking again, I can't find
  >out why the postgres logs are empty. The postgres database is up and working
      >
  >great, but nothing is getting logged.
  >I'm on a RedHat Linux (6.0 with lot of upgrades)
  >postgres 7.0.3 from rpm (downoaded from the postgres ftp server)
  >
  >Any ideas?


If postmaster is started with -S, nothing gets logged.  Is that your problem?

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Be patient therefore, brethren, unto the coming of the
      Lord...Be patient; strengthen your hearts, for
      the coming of the Lord draweth nigh."
                                   James 5:7,8



Re: still no log

From
"Martin A. Marques"
Date:
El Mié 10 Ene 2001 21:07, escribiste:
> "Martin A. Marques" wrote:
>   >Sorry for the insistence, but after looking and looking again, I can't
>   > find out why the postgres logs are empty. The postgres database is up
>   > and working
>   >
>   >great, but nothing is getting logged.
>   >I'm on a RedHat Linux (6.0 with lot of upgrades)
>   >postgres 7.0.3 from rpm (downoaded from the postgres ftp server)
>   >
>   >Any ideas?
>
> If postmaster is started with -S, nothing gets logged.  Is that your
> problem?

Well, I'm not sure. I can't recall checking that in the startup script, but I
think it's not there. Any way, why would the instalation make the entries in
the logroutate config files and then have a startup script that won't do
logging? I'm using the normal startup script in /etc/rc.d/init.d/.

Saludos... :-)

--
System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués            email:     martin@math.unl.edu.ar
Santa Fe - Argentina        http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

Re: still no log

From
"Martin A. Marques"
Date:
El Mié 10 Ene 2001 20:55, Alfonso Peniche escribió:
> Existe un archivo llamado postmaster.init en el directorio de postgres, en
> ese directorio le especificas si quieres que use o no los logs. Ya
> revisaste ese archivo?

No existe tal archivo, pero ya lo sulocione.
Gracias de todas formas. ;-)

--
System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués            email:     martin@math.unl.edu.ar
Santa Fe - Argentina        http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------