{"action":"opened","issue":{"url":"https://api.github.com/repos/dalibo/pgbadger/issues/248","labels_url":"https://api.github.com/repos/dalibo/pgbadger/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/dalibo/pgbadger/issues/248/comments","events_url":"https://api.github.com/repos/dalibo/pgbadger/issues/248/events","html_url":"https://github.com/dalibo/pgbadger/issues/248","id":98245687,"number":248,"title":"Date truncated on LAST_PARSED","user":{"login":"evertonberz","id":1548765,"avatar_url":"https://avatars.githubusercontent.com/u/1548765?v=3","gravatar_id":"","url":"https://api.github.com/users/evertonberz","html_url":"https://github.com/evertonberz","followers_url":"https://api.github.com/users/evertonberz/followers","following_url":"https://api.github.com/users/evertonberz/following{/other_user}","gists_url":"https://api.github.com/users/evertonberz/gists{/gist_id}","starred_url":"https://api.github.com/users/evertonberz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evertonberz/subscriptions","organizations_url":"https://api.github.com/users/evertonberz/orgs","repos_url":"https://api.github.com/users/evertonberz/repos","events_url":"https://api.github.com/users/evertonberz/events{/privacy}","received_events_url":"https://api.github.com/users/evertonberz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-30T19:36:04Z","updated_at":"2015-07-30T19:36:04Z","closed_at":null,"body":"Hi\r\n\r\nin some executions of pgbadger my LAST_PARSED file is created truncated.\r\nMaybe this is a parse error during the log parsing activity.\r\nFollow below the pgbadger parser output and some details of my environment.\r\n\r\nI am using pgBadger version 7.1. This issue occurs on 7.0 too.\r\n\r\n[root@xxx04-db-a ~]# /opt/resources/rodar_pgbadger.sh\r\nThu Jul 30 16:17:30 BRT 2015\r\n2015-07-30 15:54:32     52158865        2015-07-30 15:54:32 BRT [10916]: [3-1] user=postgres,db=xxx_1grau LOG:  disconnection: session time: 0:00:00.021 user=postgres database=xxx_1grau host=[local]\r\nDEBUG: Autodetected log format 'stderr' from /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-07_011241.log\r\nDEBUG: Output 'html' reports will be written to out.html\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-07_011241.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-08_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-09_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-09_223533.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-09_225735.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-10_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-11_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-12_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-13_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-14_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-15_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-16_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-17_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-17_004236.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-18_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-19_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-20_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-21_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-22_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-23_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-24_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-25_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-26_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-27_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-28_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-29_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-30_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-05-31_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-01_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-02_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-03_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-04_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-05_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-06_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-07_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-08_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-09_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-10_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-11_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-12_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-13_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-14_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-15_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-16_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-17_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-18_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-19_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-20_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-21_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-22_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-23_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-24_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-25_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-26_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-27_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-28_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-29_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-01_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-02_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-03_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-04_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-05_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-06_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-07_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-08_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-09_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-10_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-11_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-13_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-14_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-15_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-16_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-17_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-18_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-19_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-20_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-21_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-22_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-23_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-24_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-25_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-26_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-27_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-28_000000.log\r\nDEBUG: this file has already been parsed: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-29_000000.log\r\nDEBUG: Starting progressbar writer process\r\nDEBUG: The following boundaries will be used to parse file /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-30_000000.log, 52158865|56409933\r\nDEBUG: Starting to parse log file: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-30_000000.log\r\nDEBUG: The following boundaries will be used to parse file /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log, 52158865|65834607\r\nDEBUG: Starting to parse log file: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log\r\nDEBUG: The following boundaries will be used to parse file /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-30_000000.log, 52158865|53850316\r\nDEBUG: Starting to parse log file: /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-30_000000.log\r\nDEBUG: Starting reading file /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-30_000000.log...\r\nDEBUG: Start parsing at offset 52158865 of file /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-30_000000.log to 53850316\r\nDEBUG: Starting reading file /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-30_000000.log...\r\nDEBUG: Start parsing at offset 52158865 of file /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-06-30_000000.log to 56409933\r\nDEBUG: Starting reading file /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log...\r\nDEBUG: Start parsing at offset 52158865 of file /var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log to 65834607\r\n[========================>] Parsed 176094856 bytes of 176094856 (100.00%), queries: 0, events: 9\r\nDEBUG: the log statistics gathering took: 5 wallclock secs ( 0.04 usr  0.03 sys +  5.20 cusr  0.05 csys =  5.32 CPU)\r\nLOG: Ok, generating HTML daily report into /var/www/html/2015/07/30/...\r\nLOG: Ok, generating HTML daily report into /var/www/html/5/06/30/...\r\nLOG: Ok, generating HTML daily report into /var/www/html/5/07/12/...\r\nLOG: Ok, generating HTML weekly report into /var/www/html//...\r\nLOG: Ok, generating HTML weekly report into /var/www/html//...\r\nLOG: Ok, generating HTML weekly report into /var/www/html/2015/week-31/...\r\nLOG: Ok, generating global index to access incremental reports...\r\nDEBUG: building reports took: 64 wallclock secs (59.41 usr +  4.50 sys = 63.91 CPU)\r\nDEBUG: the total execution time took: 69 wallclock secs (59.45 usr  4.53 sys +  5.20 cusr  0.05 csys = 69.23 CPU)\r\n5-07-12 19:00:59        65834607        5-07-12 19:00:59 BRT [28888]: [2-1] user=postgres,db=xxx_1grau LOG:  connection authorized: user=postgres database=xxx_1grau\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]# cat /var/www/html/LAST_PARSED\r\n5-07-12 19:00:59        65834607        5-07-12 19:00:59 BRT [28888]: [2-1] user=postgres,db=xxx_1grau LOG:  connection authorized: user=postgres database=xxx_1grau\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]# cat /opt/resources/rodar_pgbadger.sh\r\n#!/bin/bash\r\n\r\ndate\r\nif mkdir /var/lock/pgbadger; then\r\n  cat /var/www/html/LAST_PARSED\r\n  /usr/local/bin/pgbadger -v -I -j 3 -J 3 -O /var/www/html /var/lib/pgsql/9.3/data/pg_log/postgresql-*.log\r\n  cat /var/www/html/LAST_PARSED\r\n  rm -rf /var/lock/pgbadger\r\nelse\r\n  echo \"Lock failed - Program probably is already running...\" >&2\r\n  exit 1\r\nfi\r\n\r\n\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]# grep '19:00:59 BRT \\[28888\\]' /var/lib/pgsql/9.3/data/pg_log/*\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log:2015-07-12 19:00:59 BRT [28888]: [1-1] user=[unknown],db=[unknown] LOG:  connection received: host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log:2015-07-12 19:00:59 BRT [28888]: [2-1] user=postgres,db=xxx_1grau LOG:  connection authorized: user=postgres database=xxx_1grau\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log:2015-07-12 19:00:59 BRT [28888]: [3-1] user=postgres,db=xxx_1grau LOG:  disconnection: session time: 0:00:00.016 user=postgres database=xxx_1grau host=[local]\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]# grep -B 10 -A 10 '19:00:59 BRT \\[28888\\]' /var/lib/pgsql/9.3/data/pg_log/*\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:55 BRT [28671]: [2-1] user=xxx,db=xxx_2grau LOG:  connection authorized: user=xxx database=xxx_2grau\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:57 BRT [28674]: [1-1] user=[unknown],db=[unknown] LOG:  connection received: host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:57 BRT [28674]: [2-1] user=postgres,db=postgres LOG:  connection authorized: user=postgres database=postgres\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:57 BRT [28674]: [3-1] user=postgres,db=postgres LOG:  disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:58 BRT [28768]: [1-1] user=[unknown],db=[unknown] LOG:  connection received: host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:59 BRT [28768]: [2-1] user=postgres,db=xxx_1grau LOG:  connection authorized: user=postgres database=xxx_1grau\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:59 BRT [28768]: [3-1] user=postgres,db=xxx_1grau LOG:  disconnection: session time: 0:00:01.136 user=postgres database=xxx_1grau host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:59 BRT [28857]: [1-1] user=[unknown],db=[unknown] LOG:  connection received: host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:59 BRT [28857]: [2-1] user=postgres,db=xxx_1grau LOG:  connection authorized: user=postgres database=xxx_1grau\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:59 BRT [28857]: [3-1] user=postgres,db=xxx_1grau LOG:  disconnection: session time: 0:00:00.023 user=postgres database=xxx_1grau host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log:2015-07-12 19:00:59 BRT [28888]: [1-1] user=[unknown],db=[unknown] LOG:  connection received: host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log:2015-07-12 19:00:59 BRT [28888]: [2-1] user=postgres,db=xxx_1grau LOG:  connection authorized: user=postgres database=xxx_1grau\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log:2015-07-12 19:00:59 BRT [28888]: [3-1] user=postgres,db=xxx_1grau LOG:  disconnection: session time: 0:00:00.016 user=postgres database=xxx_1grau host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:59 BRT [28904]: [1-1] user=[unknown],db=[unknown] LOG:  connection received: host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:59 BRT [28904]: [2-1] user=postgres,db=xxx_1grau LOG:  connection authorized: user=postgres database=xxx_1grau\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:59 BRT [28904]: [3-1] user=postgres,db=xxx_1grau LOG:  disconnection: session time: 0:00:00.020 user=postgres database=xxx_1grau host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:59 BRT [28920]: [1-1] user=[unknown],db=[unknown] LOG:  connection received: host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:59 BRT [28920]: [2-1] user=postgres,db=xxx_1grau LOG:  connection authorized: user=postgres database=xxx_1grau\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:00:59 BRT [28920]: [3-1] user=postgres,db=xxx_1grau LOG:  disconnection: session time: 0:00:00.010 user=postgres database=xxx_1grau host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:01:00 BRT [28936]: [1-1] user=[unknown],db=[unknown] LOG:  connection received: host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:01:00 BRT [28936]: [2-1] user=postgres,db=xxx_1grau LOG:  connection authorized: user=postgres database=xxx_1grau\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:01:00 BRT [28936]: [3-1] user=postgres,db=xxx_1grau LOG:  disconnection: session time: 0:00:00.012 user=postgres database=xxx_1grau host=[local]\r\n/var/lib/pgsql/9.3/data/pg_log/postgresql-2015-07-12_000000.log-2015-07-12 19:01:03 BRT [29100]: [1-1] user=[unknown],db=[unknown] LOG:  connection received: host=[local]\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]#\r\n[root@xxx04-db-a ~]# /usr/local/bin/pgbadger --version\r\npgBadger version 7.1\r\n[root@xxx04-db-a ~]# uname -a\r\nLinux xxx04-db-a 2.6.32-431.11.2.el6.x86_64 #1 SMP Mon Mar 3 13:32:45 EST 2014 x86_64 x86_64 x86_64 GNU/Linux\r\n[root@xxx04-db-a ~]# cat /etc/redhat-release\r\nRed Hat Enterprise Linux Server release 6.5 (Santiago)\r\n[root@xxx04-db-a ~]#\r\n\r\n"}}