As documented: start date/time for the data to be parsed in log
(either a timestamp or a time)
Running pgbadger with the timezone does not get processed,
without it does get processed, i haven't checked how that timezoneinfo in the postgresql/pgbouncer log files is handled then
Can anyone confirm this?,
steps to reproduce:
`# pgbadger -X -I --noclean -b "2022-01-17 00:00:00.000+CET" /var/log/postgresql/postgresql.log -O /var/www/pgbadger/
FATAL: bad format for begin datetime/time, should be yyyy-mm-dd hh:mm:ss.l+tz or hh:mm:ss.l+tz
Error at line 1004
while #pgbadger -b "2022-01-17 00:00:00.000" /var/log/postgresql/postgresql.log -O /var/www/pgbadger/`
works
more info:
# head /var/log/postgresql/postgresql.log 2022-01-30 00:08:42.390 CET [15462] ...
As documented: start date/time for the data to be parsed in log (either a timestamp or a time)
Running pgbadger with the timezone does not get processed, without it does get processed, i haven't checked how that timezoneinfo in the postgresql/pgbouncer log files is handled then
Can anyone confirm this?, steps to reproduce:
`# pgbadger -X -I --noclean -b "2022-01-17 00:00:00.000+CET" /var/log/postgresql/postgresql.log -O /var/www/pgbadger/ FATAL: bad format for begin datetime/time, should be yyyy-mm-dd hh:mm:ss.l+tz or hh:mm:ss.l+tz
while
#pgbadger -b "2022-01-17 00:00:00.000" /var/log/postgresql/postgresql.log -O /var/www/pgbadger/` worksmore info:
# head /var/log/postgresql/postgresql.log 2022-01-30 00:08:42.390 CET [15462] ...