{"action":"created","issue":{"url":"https://api.github.com/repos/ossc-db/pg_rman/issues/56","repository_url":"https://api.github.com/repos/ossc-db/pg_rman","labels_url":"https://api.github.com/repos/ossc-db/pg_rman/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/ossc-db/pg_rman/issues/56/comments","events_url":"https://api.github.com/repos/ossc-db/pg_rman/issues/56/events","html_url":"https://github.com/ossc-db/pg_rman/issues/56","id":185278789,"number":56,"title":"To APPLICATION_NAME, I want to expand the \"pg_rman\".","user":{"login":"harada-toshi","id":15028944,"avatar_url":"https://avatars.githubusercontent.com/u/15028944?v=3","gravatar_id":"","url":"https://api.github.com/users/harada-toshi","html_url":"https://github.com/harada-toshi","followers_url":"https://api.github.com/users/harada-toshi/followers","following_url":"https://api.github.com/users/harada-toshi/following{/other_user}","gists_url":"https://api.github.com/users/harada-toshi/gists{/gist_id}","starred_url":"https://api.github.com/users/harada-toshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harada-toshi/subscriptions","organizations_url":"https://api.github.com/users/harada-toshi/orgs","repos_url":"https://api.github.com/users/harada-toshi/repos","events_url":"https://api.github.com/users/harada-toshi/events{/privacy}","received_events_url":"https://api.github.com/users/harada-toshi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-26T02:03:54Z","updated_at":"2016-11-04T15:28:03Z","closed_at":null,"body":"Set the APPLICATION_NAME to log_line_prefix of server log, is output as UNKNOWN when you execute pg_rman.\n- log_line_prefix\n\n```\n$ psql -U postgres -c \"SHOW log_line_prefix\"\n log_line_prefix \n-----------------\n %t app=%a \n```\n- pg_rman command line\n\n```\n$ pg_rman backup --backup-mode=full --progress -D ~/pgdata/9.6 -B /tmp/bk -A /tmp/arc -U postgres \nINFO: copying database files\nProcessed 2273 of 2273 files, skipped 0\nINFO: copying archived WAL files\nINFO: backup complete\nINFO: Please execute 'pg_rman validate' to verify the files are correctly copied.\n```\n- server log\n\n```\n2016-10-26 10:17:41 JST app=[unknown] LOG:  execute <unnamed>: SELECT current_setting($1)\n2016-10-26 10:17:41 JST app=[unknown] DETAIL:  parameters: $1 = 'block_size'\n2016-10-26 10:17:41 JST app=[unknown] LOG:  execute <unnamed>: SELECT current_setting($1)\n2016-10-26 10:17:41 JST app=[unknown] DETAIL:  parameters: $1 = 'wal_block_size'\n2016-10-26 10:17:41 JST app=[unknown] LOG:  execute <unnamed>: SELECT * from pg_xlogfile_name_offset(pg_start_backup($1, $2, $3))\n2016-10-26 10:17:41 JST app=[unknown] DETAIL:  parameters: $1 = '2016-10-26 10:17:41 with pg_rman', $2 = 't', $3 = 'f'\n2016-10-26 10:17:43 JST app=[unknown] LOG:  statement: SET client_min_messages = warning;\n2016-10-26 10:17:43 JST app=[unknown] LOG:  execute <unnamed>: SELECT * FROM pg_stop_backup($1)\n2016-10-26 10:17:43 JST app=[unknown] DETAIL:  parameters: $1 = 'f'\n2016-10-26 10:17:43 JST app=[unknown] LOG:  execute <unnamed>: SELECT * FROM pg_xlogfile_name_offset($1)\n2016-10-26 10:17:43 JST app=[unknown] DETAIL:  parameters: $1 = '0/70000F8'\n2016-10-26 10:17:43 JST app=[unknown] LOG:  statement: SELECT txid_current();\n```\n\nTo APPLICATION_NAME, I want to expand the \"pg_rman\".\n"},"comment":{"url":"https://api.github.com/repos/ossc-db/pg_rman/issues/comments/258462496","html_url":"https://github.com/ossc-db/pg_rman/issues/56#issuecomment-258462496","issue_url":"https://api.github.com/repos/ossc-db/pg_rman/issues/56","id":258462496,"user":{"login":"bwtakacy","id":5819897,"avatar_url":"https://avatars.githubusercontent.com/u/5819897?v=3","gravatar_id":"","url":"https://api.github.com/users/bwtakacy","html_url":"https://github.com/bwtakacy","followers_url":"https://api.github.com/users/bwtakacy/followers","following_url":"https://api.github.com/users/bwtakacy/following{/other_user}","gists_url":"https://api.github.com/users/bwtakacy/gists{/gist_id}","starred_url":"https://api.github.com/users/bwtakacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwtakacy/subscriptions","organizations_url":"https://api.github.com/users/bwtakacy/orgs","repos_url":"https://api.github.com/users/bwtakacy/repos","events_url":"https://api.github.com/users/bwtakacy/events{/privacy}","received_events_url":"https://api.github.com/users/bwtakacy/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T15:28:02Z","updated_at":"2016-11-04T15:28:02Z","body":"Over one week passed...\r\n\r\nI will take this.\r\n"}}
{"actor":{"display_login":"bwtakacy"}}