log file sparacheinstellung
Hallo leute,
im weekly newsletter wurde das tool pgsi ( http://bucardo.org/wiki/Pgsi )
vorgestellt. Lokal auf meinem laptop klappt das super, da das logfile in
english ist. auszug:
2011-02-08 13:53:55 CET 1767 LOG: database system was shut down at
2011-02-08 13:53:53 CET
2011-02-08 13:53:55 CET 1766 LOG: database system is ready to accept
connections
2011-02-08 13:53:56 CET 1776 LOG: statement: SELECT d.datname as "Name",
FROM pg_catalog.pg_database d
ORDER BY 1;
2011-02-08 13:53:56 CET 1776 LOG: duration: 3.804 ms
--------------------------------=09
Auf meinem server ist das log file auf deutsch:
2011-02-08 14:37:44 CET 8100 LOG: Datenbanksystem wurde am 2011-02-08
14:37:42 CET heruntergefahren
5 2011-02-08 14:37:45 CET 8109 LOG: Anweisung: SELECT d.datname as
"Name",
FROM pg_catalog.pg_database d
ORDER BY 1;
13 2011-02-08 14:37:45 CET 8109 LOG: Dauer: 1.829 ms
14 2011-02-08 14:37:45 CET 8112 LOG: Anweisung: SELECT d.datname as
"Name",
Tests ergaben, dass pgsi nach englischen schlüsselwörtern sucht und som=
it
das deutsche nicht verarbeiten kann.
Meine frage - wie stelle ich das log file auf englisch um?
Viele grüße
hubert
--
Sent via pgsql-de-allgemein mailing list (pgsql-de-allgemein [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-de-allgemein
Re: log file sparacheinstellung
Am 8. Februar 2011 15:03 schrieb hubert hupe <hubert_hupe [at] gmx.de>:
> Meine frage - wie stelle ich das log file auf englisch um?
Aus meinem postgresql.conf:
----->8-----
# These settings are initialized by initdb, but they can be changed.
lc_messages =3D 'de_BE.utf8' # locale for system
error message
# strings
-----8<-----
Das kan mann dann z.B. zu en_US [at] utf8 oder so =C3=A4ndern.
Nicolas
--
Sent via pgsql-de-allgemein mailing list (pgsql-de-allgemein [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-de-allgemein
Re: log file sparacheinstellung
On 08.02.2011 15:03, hubert hupe wrote:
> Meine frage - wie stelle ich das log file auf englisch um?
Hallo Hubert,
welches Betriebssystem?
Nikolas hat es schon gesagt. Es wird LC_MESSAGES verwendet.
Ich hab es jetzt nicht getestet, aber es könnte auch reichen, die local=
e des
Daemon-owners vor Start umzustellen.
Susanne
--
Susanne Ebrecht - 2ndQuadrant
PostgreSQL Development, 24x7 Support, Training and Services
www.2ndQuadrant.com
--
Sent via pgsql-de-allgemein mailing list (pgsql-de-allgemein [at] postgresql.o=
rg)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-de-allgemein
Re: log file sparacheinstellung
Hallo,
so. der tipp war gut, so konnte ich psql dazu bewegen, dass logfile auf eng=
lisch zu erstellen und pgsi kann es nun verarbeiten.
Distri war =C3=BCbrigen ubuntu server 10.10
Danke f=C3=BCr die hilfe...
Vg
hubert
-----Urspr=C3=BCngliche Nachricht-----
Von: pgsql-de-allgemein-owner [at] postgresql.org [mailto:pgsql-de-allgemein-own=
er [at] postgresql.org] Im Auftrag von Nicolas Barbier
Gesendet: Dienstag, 8. Februar 2011 16:44
An: hubert hupe
Cc: pgsql-de-allgemein [at] postgresql.org
Betreff: Re: [pgsql-de-allgemein] log file sparacheinstellung
Am 8. Februar 2011 15:03 schrieb hubert hupe <hubert_hupe [at] gmx.de>:
> Meine frage - wie stelle ich das log file auf englisch um?
Aus meinem postgresql.conf:
----->8-----
# These settings are initialized by initdb, but they can be changed.
lc_messages =3D 'de_BE.utf8' # locale for system
error message
# strings
-----8<-----
Das kan mann dann z.B. zu en_US [at] utf8 oder so =C3=A4ndern.
Nicolas
--
Sent via pgsql-de-allgemein mailing list (pgsql-de-allgemein [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-de-allgemein
--
Sent via pgsql-de-allgemein mailing list (pgsql-de-allgemein [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-de-allgemein