| From: | Walter Nordmann <wnordmann(at)gmx(dot)de> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: log_filename |
| Date: | 2017-07-18 08:36:29 |
| Message-ID: | 148f24c8-a2a0-d789-8929-98a9b4a0022d@gmx.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
May be i'm blind: what did you really do? changed postgresql.conf?
regards
walter
Am 18.07.2017 um 10:31 schrieb Ahtesham Karajgi:
> Add the version in the log_filename itself.
>
> Below is the test case.
>
> naveed=# show log_filename ;
> log_filename
> --------------------------------
> postgresql-%Y-%m-%d_%H%M%S.log
> (1 row)
>
> naveed=# select pg_reload_conf();
> pg_reload_conf
> ----------------
> t
> (1 row)
>
> naveed=# show log_filename ;
> log_filename
> ------------------------------------
> postgresql-9.5-%Y-%m-%d_%H%M%S.log
> (1 row)
>
> test=# \q
> [postgres(at)localhost ~]$
> [postgres(at)localhost ~]$ ls -lrth /usr/local/pgsql/data/pg_log | tail -2
> -rw-------. 1 postgres postgres 3.3K Jul 18 01:25
> postgresql-2017-07-18_000000.log
> -rw-------. 1 postgres postgres 4.1K Jul 18 01:27
> postgresql-9.5-2017-07-18_012530.log
> [postgres(at)localhost ~]$
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Achilleas Mantzios | 2017-07-18 08:40:24 | Re: log_filename |
| Previous Message | Ahtesham Karajgi | 2017-07-18 08:31:31 | Re: log_filename |