Re: starting log problems

Поиск
Список
Период
Сортировка
От Radu-Adrian Popescu
Тема Re: starting log problems
Дата
Msg-id 004501c1af02$13435620$0600a8c0@rpopescu
обсуждение исходный текст
Ответ на starting log problems  (Manuel Trujillo <manueltrujillo@dorna.es>)
Список pgsql-admin
My postmaster is started with :
su -l postgres -s /bin/sh -c "/usr/local/pgsql/bin/pg_ctl -D $PGDATA -o "-i" -p /usr/local/pgsql/bin/postmaster start  >> /var/log/pgsql 2>&1" < /dev/null
This is an excerpt from my data/postgresql.conf file, that sets (some) logging parameters :
#
#       Debug display
#
#silent_mode = false
log_connections = true
log_timestamp = true
#log_pid = false
#debug_level = 0 # range 0-16
debug_print_query = true
#debug_print_parse = false
#debug_print_rewritten = false
#debug_print_plan = false
debug_pretty_print = true


> Hi.
>
> I've got compiled a postgresql-7.1.3 into a Debian Sid box (linux). All
> works fine, but sometimes, when I go to look the log, this is set to
> "zero", is empty. The postgresql don't write anything into it file.
> I don't know if it occurs when stop-start postgres, or has any problem,
> or... well, i don't know.
> In the syslog, messages, or any sistem-log, don't show any problem... ¿?
>
> Anybody can help me, please?
> Excuse me my bad english... :(
>
> Have a nice day ;-)
> TooManySecrets
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>
http://archives.postgresql.org

В списке pgsql-admin по дате отправления:

Предыдущее
От: Manuel Trujillo
Дата:
Сообщение: starting log problems
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Recovery - transaction logs