Re: WTF? 9.2.4 Logs have the wrong day of the week?

From: Eduardo Morras <emorrasg(at)yahoo(dot)es>
To: pgsql-admin(at)postgresql(dot)org
Cc: Scott Whitney <swhitney(at)journyx(dot)com>
Subject: Re: WTF? 9.2.4 Logs have the wrong day of the week?
Date: 2013-08-14 13:50:24
Message-ID: 20130814155024.3fbe1f05479363b81f15c8fb@yahoo.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, 13 Aug 2013 19:27:14 -0500 (CDT)
Scott Whitney <scott(at)journyx(dot)com> wrote:

> Everything you need to see is right here:
>
>
>
> [root@<serverNameRemoved> pg_log]# ls -lrt
> total 5924
>
> -rw------- 1 postgres postgres 708669 Aug 8 18:59 postgresql-Thu.log
> -rw------- 1 postgres postgres 669505 Aug 9 18:59 postgresql-Fri.log
> -rw------- 1 postgres postgres 666603 Aug 10 18:56 postgresql-Sat.log
> -rw------- 1 postgres postgres 559716 Aug 11 18:59 postgresql-Sun.log
> -rw------- 1 postgres postgres 626143 Aug 12 18:56 postgresql-Mon.log
> -rw------- 1 postgres postgres 2065282 Aug 13 18:24 postgresql-Tue.log
> -rw------- 1 postgres postgres 755099 Aug 13 19:22 postgresql-Wed.log
>
>
>
> [root@<serverNameRemoved> pg_log]# date
> Tue Aug 13 19:23:53 CDT 2013
>
>
> so...yah..anyone?
>

Did you set a max log of 2MB = 2097152 bytes ? Also, up to day 12, all logs roll at 19:00, perhaps to avoid the name collision with the second log file of day 13, it was saved as next available log name.

>
> For further information, please see:
> http://www.dayoftheweek.org/?m=August&d=13&y=2013&go=Go
>
>
> It's the "Wed" part that is confusing me...
>

--- ---
Eduardo Morras <emorrasg(at)yahoo(dot)es>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Natalie Wenz 2013-08-14 14:52:08 Re: vacuum freeze performance, wraparound issues
Previous Message Scott Whitney 2013-08-14 01:03:54 Re: WTF? 9.2.4 Logs have the wrong day of the week?