Package: rsyslog-pgsql
Version: 7.3.15-1
Followup-For: Bug #689053
Hello there,
FWIW, I just experienced similar behavior after the recent upgrade in
testing, so I'm adding this here instead of filing a new bug report.
Yesterday I upgraded as follows:
[UPGRADE] rsyslog:amd64 5.8.11-3 -> 7.3.15-1
[UPGRADE] rsyslog-pgsql:amd64 5.8.11-3 -> 7.3.15-1
As long as I leave logging to postgres enabled as per the following
config
# sed -e 's#,[^,]\+$#,password#' /etc/rsyslog.d/pgsql.conf
| ### Configuration file for rsyslog-pgsql
| ### Changes are preserved
|
| $ModLoad ompgsql
| *.* :ompgsql:localhost,Syslog,rsyslog,password
rsyslog will only log for ~30 seconds and then stop logging. After that
no more entries appear in either DB or logfiles under /var/log.
However, unlike in OP's situation, the DB wasn't flakey at all. But
still, the second paragraph from OP's mail seems to apply here:
"rsyslog should rather drop messages to a certain backend if it is not
available and keep on logging to available backends or at least make
this behaviour configurable so a broken logging backend can not freeze
rsyslog."
Cheers,
Flo
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rsyslog-pgsql depends on:
ii dbconfig-common1.8.47+nmu1
ii debconf [debconf-2.0] 1.5.50
ii libc6 2.17-3
ii libpq5 9.1.9-1
ii rsyslog7.3.15-1
ii ucf3.0025+nmu3
Versions of packages rsyslog-pgsql recommends:
ii postgresql-client 9.3+142really9.1+143
ii postgresql-client-9.1 [postgresql-client] 9.1.9-1
Versions of packages rsyslog-pgsql suggests:
ii postgresql 9.3+142really9.1+143
-- debconf information:
rsyslog-pgsql/db/app-user: rsyslog
rsyslog-pgsql/pgsql/manualconf:
* rsyslog-pgsql/pgsql/authmethod-user: ident
rsyslog-pgsql/db/dbname: Syslog
rsyslog-pgsql/dbconfig-reinstall: false
rsyslog-pgsql/missing-db-package-error: abort
rsyslog-pgsql/pgsql/admin-user: postgres
rsyslog-pgsql/database-type: pgsql
rsyslog-pgsql/internal/skip-preseed: false
rsyslog-pgsql/install-error: abort
rsyslog-pgsql/remote/port:
rsyslog-pgsql/dbconfig-upgrade: true
rsyslog-pgsql/pgsql/no-empty-passwords:
rsyslog-pgsql/remote/newhost:
rsyslog-pgsql/remote/host:
rsyslog-pgsql/upgrade-backup: true
rsyslog-pgsql/passwords-do-not-match:
rsyslog-pgsql/purge: false
rsyslog-pgsql/upgrade-error: abort
rsyslog-pgsql/pgsql/method: unix socket
rsyslog-pgsql/remove-error: abort
rsyslog-pgsql/internal/reconfiguring: false
rsyslog-pgsql/pgsql/changeconf: false
rsyslog-pgsql/pgsql/authmethod-admin: ident
rsyslog-pgsql/dbconfig-remove:
* rsyslog-pgsql/dbconfig-install: true
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org