{"action":"opened","number":607,"pull_request":{"url":"https://api.github.com/repos/NLog/NLog/pulls/607","id":30076885,"html_url":"https://github.com/NLog/NLog/pull/607","diff_url":"https://github.com/NLog/NLog/pull/607.diff","patch_url":"https://github.com/NLog/NLog/pull/607.patch","issue_url":"https://api.github.com/repos/NLog/NLog/issues/607","number":607,"state":"open","locked":false,"title":"Archiving system runs when new log file is created #390","user":{"login":"awardle","id":464713,"avatar_url":"https://avatars.githubusercontent.com/u/464713?v=3","gravatar_id":"","url":"https://api.github.com/users/awardle","html_url":"https://github.com/awardle","followers_url":"https://api.github.com/users/awardle/followers","following_url":"https://api.github.com/users/awardle/following{/other_user}","gists_url":"https://api.github.com/users/awardle/gists{/gist_id}","starred_url":"https://api.github.com/users/awardle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awardle/subscriptions","organizations_url":"https://api.github.com/users/awardle/orgs","repos_url":"https://api.github.com/users/awardle/repos","events_url":"https://api.github.com/users/awardle/events{/privacy}","received_events_url":"https://api.github.com/users/awardle/received_events","type":"User","site_admin":false},"body":"If archiving mode is set to date when a new log file is created, due to naming rules, the program will delete any\r\nout of date archives.\r\n\r\nSummary of changes\r\n--------------------------\r\n* Moved code to delete old archives in date mode to separate function \r\n* Moved code to get file name pattern into a separate function\r\n* Added code to write function that runs the delete archive function when a new log file is started\r\n\r\nFixes bug 390","created_at":"2015-02-26T13:24:08Z","updated_at":"2015-02-26T13:24:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NLog/NLog/pulls/607/commits","review_comments_url":"https://api.github.com/repos/NLog/NLog/pulls/607/comments","review_comment_url":"https://api.github.com/repos/NLog/NLog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/607/comments","statuses_url":"https://api.github.com/repos/NLog/NLog/statuses/cacf0859fb52064cc788b57159c983f030a333af","head":{"label":"awardle:master","ref":"master","sha":"cacf0859fb52064cc788b57159c983f030a333af","user":{"login":"awardle","id":464713,"avatar_url":"https://avatars.githubusercontent.com/u/464713?v=3","gravatar_id":"","url":"https://api.github.com/users/awardle","html_url":"https://github.com/awardle","followers_url":"https://api.github.com/users/awardle/followers","following_url":"https://api.github.com/users/awardle/following{/other_user}","gists_url":"https://api.github.com/users/awardle/gists{/gist_id}","starred_url":"https://api.github.com/users/awardle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awardle/subscriptions","organizations_url":"https://api.github.com/users/awardle/orgs","repos_url":"https://api.github.com/users/awardle/repos","events_url":"https://api.github.com/users/awardle/events{/privacy}","received_events_url":"https://api.github.com/users/awardle/received_events","type":"User","site_admin":false},"repo":{"id":31367553,"name":"NLog","full_name":"awardle/NLog","owner":{"login":"awardle","id":464713,"avatar_url":"https://avatars.githubusercontent.com/u/464713?v=3","gravatar_id":"","url":"https://api.github.com/users/awardle","html_url":"https://github.com/awardle","followers_url":"https://api.github.com/users/awardle/followers","following_url":"https://api.github.com/users/awardle/following{/other_user}","gists_url":"https://api.github.com/users/awardle/gists{/gist_id}","starred_url":"https://api.github.com/users/awardle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awardle/subscriptions","organizations_url":"https://api.github.com/users/awardle/orgs","repos_url":"https://api.github.com/users/awardle/repos","events_url":"https://api.github.com/users/awardle/events{/privacy}","received_events_url":"https://api.github.com/users/awardle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/awardle/NLog","description":"NLog - Advanced .NET and Silverlight Logging","fork":true,"url":"https://api.github.com/repos/awardle/NLog","forks_url":"https://api.github.com/repos/awardle/NLog/forks","keys_url":"https://api.github.com/repos/awardle/NLog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awardle/NLog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awardle/NLog/teams","hooks_url":"https://api.github.com/repos/awardle/NLog/hooks","issue_events_url":"https://api.github.com/repos/awardle/NLog/issues/events{/number}","events_url":"https://api.github.com/repos/awardle/NLog/events","assignees_url":"https://api.github.com/repos/awardle/NLog/assignees{/user}","branches_url":"https://api.github.com/repos/awardle/NLog/branches{/branch}","tags_url":"https://api.github.com/repos/awardle/NLog/tags","blobs_url":"https://api.github.com/repos/awardle/NLog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awardle/NLog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awardle/NLog/git/refs{/sha}","trees_url":"https://api.github.com/repos/awardle/NLog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awardle/NLog/statuses/{sha}","languages_url":"https://api.github.com/repos/awardle/NLog/languages","stargazers_url":"https://api.github.com/repos/awardle/NLog/stargazers","contributors_url":"https://api.github.com/repos/awardle/NLog/contributors","subscribers_url":"https://api.github.com/repos/awardle/NLog/subscribers","subscription_url":"https://api.github.com/repos/awardle/NLog/subscription","commits_url":"https://api.github.com/repos/awardle/NLog/commits{/sha}","git_commits_url":"https://api.github.com/repos/awardle/NLog/git/commits{/sha}","comments_url":"https://api.github.com/repos/awardle/NLog/comments{/number}","issue_comment_url":"https://api.github.com/repos/awardle/NLog/issues/comments{/number}","contents_url":"https://api.github.com/repos/awardle/NLog/contents/{+path}","compare_url":"https://api.github.com/repos/awardle/NLog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awardle/NLog/merges","archive_url":"https://api.github.com/repos/awardle/NLog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awardle/NLog/downloads","issues_url":"https://api.github.com/repos/awardle/NLog/issues{/number}","pulls_url":"https://api.github.com/repos/awardle/NLog/pulls{/number}","milestones_url":"https://api.github.com/repos/awardle/NLog/milestones{/number}","notifications_url":"https://api.github.com/repos/awardle/NLog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awardle/NLog/labels{/name}","releases_url":"https://api.github.com/repos/awardle/NLog/releases{/id}","created_at":"2015-02-26T13:11:15Z","updated_at":"2015-02-26T13:14:58Z","pushed_at":"2015-02-26T13:14:58Z","git_url":"git://github.com/awardle/NLog.git","ssh_url":"git@github.com:awardle/NLog.git","clone_url":"https://github.com/awardle/NLog.git","svn_url":"https://github.com/awardle/NLog","homepage":null,"size":55681,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NLog:master","ref":"master","sha":"7e7c5fb12b8408d47fb3a15e8e6c77d1cc6de36d","user":{"login":"NLog","id":2331628,"avatar_url":"https://avatars.githubusercontent.com/u/2331628?v=3","gravatar_id":"","url":"https://api.github.com/users/NLog","html_url":"https://github.com/NLog","followers_url":"https://api.github.com/users/NLog/followers","following_url":"https://api.github.com/users/NLog/following{/other_user}","gists_url":"https://api.github.com/users/NLog/gists{/gist_id}","starred_url":"https://api.github.com/users/NLog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NLog/subscriptions","organizations_url":"https://api.github.com/users/NLog/orgs","repos_url":"https://api.github.com/users/NLog/repos","events_url":"https://api.github.com/users/NLog/events{/privacy}","received_events_url":"https://api.github.com/users/NLog/received_events","type":"Organization","site_admin":false},"repo":{"id":5780416,"name":"NLog","full_name":"NLog/NLog","owner":{"login":"NLog","id":2331628,"avatar_url":"https://avatars.githubusercontent.com/u/2331628?v=3","gravatar_id":"","url":"https://api.github.com/users/NLog","html_url":"https://github.com/NLog","followers_url":"https://api.github.com/users/NLog/followers","following_url":"https://api.github.com/users/NLog/following{/other_user}","gists_url":"https://api.github.com/users/NLog/gists{/gist_id}","starred_url":"https://api.github.com/users/NLog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NLog/subscriptions","organizations_url":"https://api.github.com/users/NLog/orgs","repos_url":"https://api.github.com/users/NLog/repos","events_url":"https://api.github.com/users/NLog/events{/privacy}","received_events_url":"https://api.github.com/users/NLog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NLog/NLog","description":"NLog - Advanced .NET and Silverlight Logging","fork":false,"url":"https://api.github.com/repos/NLog/NLog","forks_url":"https://api.github.com/repos/NLog/NLog/forks","keys_url":"https://api.github.com/repos/NLog/NLog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NLog/NLog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NLog/NLog/teams","hooks_url":"https://api.github.com/repos/NLog/NLog/hooks","issue_events_url":"https://api.github.com/repos/NLog/NLog/issues/events{/number}","events_url":"https://api.github.com/repos/NLog/NLog/events","assignees_url":"https://api.github.com/repos/NLog/NLog/assignees{/user}","branches_url":"https://api.github.com/repos/NLog/NLog/branches{/branch}","tags_url":"https://api.github.com/repos/NLog/NLog/tags","blobs_url":"https://api.github.com/repos/NLog/NLog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NLog/NLog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NLog/NLog/git/refs{/sha}","trees_url":"https://api.github.com/repos/NLog/NLog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NLog/NLog/statuses/{sha}","languages_url":"https://api.github.com/repos/NLog/NLog/languages","stargazers_url":"https://api.github.com/repos/NLog/NLog/stargazers","contributors_url":"https://api.github.com/repos/NLog/NLog/contributors","subscribers_url":"https://api.github.com/repos/NLog/NLog/subscribers","subscription_url":"https://api.github.com/repos/NLog/NLog/subscription","commits_url":"https://api.github.com/repos/NLog/NLog/commits{/sha}","git_commits_url":"https://api.github.com/repos/NLog/NLog/git/commits{/sha}","comments_url":"https://api.github.com/repos/NLog/NLog/comments{/number}","issue_comment_url":"https://api.github.com/repos/NLog/NLog/issues/comments{/number}","contents_url":"https://api.github.com/repos/NLog/NLog/contents/{+path}","compare_url":"https://api.github.com/repos/NLog/NLog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NLog/NLog/merges","archive_url":"https://api.github.com/repos/NLog/NLog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NLog/NLog/downloads","issues_url":"https://api.github.com/repos/NLog/NLog/issues{/number}","pulls_url":"https://api.github.com/repos/NLog/NLog/pulls{/number}","milestones_url":"https://api.github.com/repos/NLog/NLog/milestones{/number}","notifications_url":"https://api.github.com/repos/NLog/NLog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NLog/NLog/labels{/name}","releases_url":"https://api.github.com/repos/NLog/NLog/releases{/id}","created_at":"2012-09-12T13:49:29Z","updated_at":"2015-02-26T03:04:23Z","pushed_at":"2015-02-21T14:20:08Z","git_url":"git://github.com/NLog/NLog.git","ssh_url":"git@github.com:NLog/NLog.git","clone_url":"https://github.com/NLog/NLog.git","svn_url":"https://github.com/NLog/NLog","homepage":null,"size":55681,"stargazers_count":826,"watchers_count":826,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":324,"mirror_url":null,"open_issues_count":119,"forks":324,"open_issues":119,"watchers":826,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NLog/NLog/pulls/607"},"html":{"href":"https://github.com/NLog/NLog/pull/607"},"issue":{"href":"https://api.github.com/repos/NLog/NLog/issues/607"},"comments":{"href":"https://api.github.com/repos/NLog/NLog/issues/607/comments"},"review_comments":{"href":"https://api.github.com/repos/NLog/NLog/pulls/607/comments"},"review_comment":{"href":"https://api.github.com/repos/NLog/NLog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NLog/NLog/pulls/607/commits"},"statuses":{"href":"https://api.github.com/repos/NLog/NLog/statuses/cacf0859fb52064cc788b57159c983f030a333af"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":48,"deletions":19,"changed_files":1}}