Re: Lots of junk on my console

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Lots of junk on my console
Дата
Msg-id Pine.BSO.4.64.0703291711450.27198@leary.csoft.net
обсуждение исходный текст
Ответ на Re: Lots of junk on my console  (Joseph S <jks@selectacast.net>)
Ответы Re: Lots of junk on my console  (Joseph S <jks@selectacast.net>)
Список pgsql-jdbc

On Thu, 29 Mar 2007, Joseph S wrote:

> Joseph S wrote:
>> I append ?loglevel=1 to the db connection urls I use for running VACUUM
>> commands.  Would that set the logwriter?
>>
> Actually I see that it does.  The comment in AbstractJdbc2Connection reads:
>
>        // Read loglevel arg and set the loglevel based on this value;
>        // In addition to setting the log level, enable output to
>        // standard out if no other printwriter is set
>
> So I guess I have to set it back to null each time I create a db connection.
>

Perhaps you should avoid using loglevel=1 if you don't want any logging
output.  If you want to get VACUUM details that should be available in a
SQLWarning attached to the statement and should be easier to put where you
want than something that is dumped to stdout.

Kris Jurka

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

Предыдущее
От: Joseph S
Дата:
Сообщение: Re: Lots of junk on my console
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: problems with plan invalidation