Re: dudas con la carpeta de log del postgres

From: marcelo Cortez <jmdc_marcelo(at)yahoo(dot)com(dot)ar>
To: alfredo guzman <freddam_17(at)yahoo(dot)es>, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: dudas con la carpeta de log del postgres
Date: 2008-02-16 14:26:15
Message-ID: 893827.39927.qm@web32104.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Alfredo

--- alfredo guzman <freddam_17(at)yahoo(dot)es> escribió:

> Holas que tal a todos de la lista, soy nuevo en esto
> de postgres y quisiera que me ayudaran con una duda
> que tengo.
>
> sucede que micarpeta donde guardo mis log, "pg_log"
> se parte los logs del dia es decir que por dia tengo
> varios logs y bueno su administracion se me hace
> algo complicado como puedo hacer para que se me
> guarde la log en un solo archivo, se lo agradeciria
> mucho, gracias.
>
En el postgresql.conf hay una seccion que controla
este comportamiento
# ERROR REPORTING AND LOGGING
fijate en estas opciones

#log_truncate_on_rotation = off # If on, an
existing log file of the
# same name as
the new log file will be
# truncated
rather than appended to.
# But such
truncation only occurs on
# time-driven
rotation, not on restarts
# or
size-driven rotation. Default is
# off, meaning
append to existing files
# in all
cases.
#log_rotation_age = 1d # Automatic
rotation of logfiles will
# happen after
that time. 0 to disable.
#log_rotation_size = 10MB # Automatic
rotation of logfiles will
# happen after
that much log output.
# 0 to
disable.
Claro esta que sino lo truncas o rotas, el log crecerá
y crecerá y tu disco devorará! ( ja me salio en
versito)
otra cosa , no mandes html en los correos a la lista .
saludos
mdc

>
>
>
>
> ______________________________________________
> ¿Con Mascota por primera vez? Sé un mejor Amigo.
> Entra en Yahoo! Respuestas
http://es.answers.yahoo.com/info/welcome

Tarjeta de crédito Yahoo! de Banco Supervielle.
Solicitá tu nueva Tarjeta de crédito. De tu PC directo a tu casa. www.tuprimeratarjeta.com.ar

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message .....::::mayikmaster:::..... 2008-02-16 15:38:17 AUXILIO CON PL/PGSQL ENVIAR EMAILS CON PL
Previous Message alfredo guzman 2008-02-16 12:51:57 dudas con la carpeta de log del postgres