Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hello,

Ubuntu 18.04
LibreOffice 6.1.3.2 (x64) Base

In http://www.openoffice.org/dba/drivers/postgresql/ a logging feature of the Postgres SDBC driver is mentioned. I would like to use it.

When I change the loglevel in /usr/lib/libreoffice/program/postgresql-sdbc.ini to "INFO", no logfile is written.

From https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/postgresql/pq_connection.cxx#readLogLevelFromConfiguration I guesss that error messages would be written to stderr. When I start a file doing some database access with
/usr/lib/libreoffice/program/<filename>.odb 1> out.txt 2> err.txt
only empty output files get created, but nothing gets written to them. I would expect to see "Couldn't open sdbc-pqsql.log file" (or whatever) in err.txt.

What am I doing wrong?
How can I use the logging feature of the Postgres SDBC driver?

Thanks!
Markus Angst


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.