Re: Please add timestamps to pgagent log

Поиск
Список
Период
Сортировка
От Sanket Mehta
Тема Re: Please add timestamps to pgagent log
Дата
Msg-id CA+yw=mNrOm5a0=a_9X7WOVJ2AiNb=5oG1MVBgb0m0g_PcQWiEw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Please add timestamps to pgagent log  (Sanket Mehta <sanket.mehta@enterprisedb.com>)
Ответы Re: Please add timestamps to pgagent log  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-support
Hi ,

I have attached the patch which is having both functionalities (-v for version info and timestamp in log)

Here timestamp is added only for linux platform because on windows pgagent logs are viewed in event viewer which provides timestamp on its own.

Please do review it and let me know in case anything is missing.

Regards,
Sanket Mehta
Sr Software engineer
Enterprisedb

On Fri, Jul 10, 2015 at 8:01 PM, Sanket Mehta <sanket.mehta@enterprisedb.com> wrote:
Sure Dave,

I will look into it.

Regards,
Sanket Mehta
Sr Software engineer
Enterprisedb

On Fri, Jul 10, 2015 at 7:40 PM, Dave Page <dpage@pgadmin.org> wrote:
Sanket - can you look at this please? As with Josh's request for
--version, it looks like we added this functionality to the PEM agent,
not pgAgent. You may copy the timestamp support for logging from the
PEM code to save effort.

On Sat, Jul 4, 2015 at 7:23 PM, Josh Berkus <josh@agliodbs.com> wrote:
> Request:
>
> pgagent's output log current does not include timestamps.  That makes it
> fairly hard to debug anything based on the log.  Can we add a timestamp
> to the beginning of each log line?
>
> --
> Josh Berkus
> PostgreSQL Experts Inc.
> http://pgexperts.com
>
>
> --
> Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Вложения

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: pgagent hangs forever in "r" state
Следующее
От: Dave Page
Дата:
Сообщение: Re: Please add timestamps to pgagent log