{"action":"created","comment":{"url":"https://api.github.com/repos/Particular/docs.particular.net/pulls/comments/54187969","id":54187969,"diff_hunk":"@@ -10,18 +10,71 @@ redirects:\n \n ### Logging\n \n-Instances of the ServiceControl service write logging information and failed message imports to the file system.  \n-Before v1.9 the logging level by default was set to `Info`, however this level can be quite verbose, so from v1.9 the default logging level is now `Warn`, this level is also configurable by adding the following to the configuration file:\n+Instances of the ServiceControl service write logging information and failed message import stack traces to the file system.  \n+\n+\n+#### Version 1.8.3 and below \n+\n+The default logging level was `Info`, \n+\n+#### Version 1.9 and above\n+\n+The default logging level is `Warn`, this level is now configurable by adding the following to the `appSettings` section of the  configuration file:\n \n ```xml\n <!-- Log Level Options: Trace, Debug, Info, Warn, Error, Fatal, Off -->\n <add key=\"ServiceControl/LogLevel\" value=\"Info\" /> \n ```\n \n-NOTE: If ServiceControl experiences a critical exception when running as a service the exception information will be logged to the Windows EventLog rather than the log file.\n+### RavenDB Logging \n+\n+#### Version 1.9 and below\n+\n+RavenDB logging is included in the ServiceControl logs.  This logging is hard coded to `ERROR` and above and is not affected by the \"ServiceControl/LogLevel\" configuration setting.\n+\n+#### Version 1.10 and above\n+\n+The RavenDB logging has been separated out into it's own log files.  These logs are located in the same directory as ServiceControl logs.  The default logging level for the RavenDB log is `Warn`.\n+\n+The log level for the RavenDB Logs can be set by adding the following to the `appSettings` section of the configuration file:\n+\n+```xml\n+<!-- Log Level Options: Trace, Debug, Info, Warn, Error, Fatal, Off -->\n+<add key=\"ServiceControl/RavenDBLogLevel\" value=\"Info\" /> \n+```\n \n+### Log File Names and Retention\n \n-### Location\n+#### Version 1.9 and below \n+\n+The current log file is named `logfile.txt`.  \n+Whwn rolled logfiles are named `log.<sequencenumber>.txt`\n+The sequence number starts at 0.  Lower numbers indicate more recent logfiles.\n+\n+ServiceControl will retain 14 logs files, older logs are deleted automatically.\n+\n+#### Version 1.10 and above\n+\n+The current ServiceControl log file is named `logfile.<data>.txt`\n+The current RavenDB embedded log file is named `ravenlog.<date>.txt`.\n+  \n+\n+The date is written in the `yyyy-MM-dd` format.\n+When the log is rolled based on size the file name will contain a sequence number after the date. e.g `logfile.2016-01-16-1.txt`\n+The sequence number starts at 0.  Lower numbers indicate more recent log files. \n+ServiceControl will retain 14 logs files, older logs are deleted automatically.\n+\n+NOTE: The change in log naming will result in logs produced prior to Version 1.10 being ignored by the log cleanup process.  These old logs can safely be removed manually.  ","path":"servicecontrol/logging.md","position":62,"original_position":62,"commit_id":"bb4d4124808dd1c7b4d31083ba5f6ae60ae590b9","original_commit_id":"bb4d4124808dd1c7b4d31083ba5f6ae60ae590b9","user":{"login":"SimonCropp","id":122666,"avatar_url":"https://avatars.githubusercontent.com/u/122666?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonCropp","html_url":"https://github.com/SimonCropp","followers_url":"https://api.github.com/users/SimonCropp/followers","following_url":"https://api.github.com/users/SimonCropp/following{/other_user}","gists_url":"https://api.github.com/users/SimonCropp/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonCropp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonCropp/subscriptions","organizations_url":"https://api.github.com/users/SimonCropp/orgs","repos_url":"https://api.github.com/users/SimonCropp/repos","events_url":"https://api.github.com/users/SimonCropp/events{/privacy}","received_events_url":"https://api.github.com/users/SimonCropp/received_events","type":"User","site_admin":false},"body":"the i asked for a vote months ago and people voted for \"Version\". ","created_at":"2016-02-26T00:21:45Z","updated_at":"2016-02-26T00:21:45Z","html_url":"https://github.com/Particular/docs.particular.net/pull/1214#discussion_r54187969","pull_request_url":"https://api.github.com/repos/Particular/docs.particular.net/pulls/1214","_links":{"self":{"href":"https://api.github.com/repos/Particular/docs.particular.net/pulls/comments/54187969"},"html":{"href":"https://github.com/Particular/docs.particular.net/pull/1214#discussion_r54187969"},"pull_request":{"href":"https://api.github.com/repos/Particular/docs.particular.net/pulls/1214"}}},"pull_request":{"url":"https://api.github.com/repos/Particular/docs.particular.net/pulls/1214","id":60603109,"html_url":"https://github.com/Particular/docs.particular.net/pull/1214","diff_url":"https://github.com/Particular/docs.particular.net/pull/1214.diff","patch_url":"https://github.com/Particular/docs.particular.net/pull/1214.patch","issue_url":"https://api.github.com/repos/Particular/docs.particular.net/issues/1214","number":1214,"state":"open","locked":false,"title":"[WIP] -Service Control 1.10 logging changes","user":{"login":"gbiellem","id":2351700,"avatar_url":"https://avatars.githubusercontent.com/u/2351700?v=3","gravatar_id":"","url":"https://api.github.com/users/gbiellem","html_url":"https://github.com/gbiellem","followers_url":"https://api.github.com/users/gbiellem/followers","following_url":"https://api.github.com/users/gbiellem/following{/other_user}","gists_url":"https://api.github.com/users/gbiellem/gists{/gist_id}","starred_url":"https://api.github.com/users/gbiellem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbiellem/subscriptions","organizations_url":"https://api.github.com/users/gbiellem/orgs","repos_url":"https://api.github.com/users/gbiellem/repos","events_url":"https://api.github.com/users/gbiellem/events{/privacy}","received_events_url":"https://api.github.com/users/gbiellem/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-02-25T00:14:35Z","updated_at":"2016-02-26T00:21:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1382b02bb4c4ad0ecdee0589f25b2c33f849a6c4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Particular/docs.particular.net/pulls/1214/commits","review_comments_url":"https://api.github.com/repos/Particular/docs.particular.net/pulls/1214/comments","review_comment_url":"https://api.github.com/repos/Particular/docs.particular.net/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Particular/docs.particular.net/issues/1214/comments","statuses_url":"https://api.github.com/repos/Particular/docs.particular.net/statuses/bb4d4124808dd1c7b4d31083ba5f6ae60ae590b9","head":{"label":"Particular:servicecontrol-1.10","ref":"servicecontrol-1.10","sha":"bb4d4124808dd1c7b4d31083ba5f6ae60ae590b9","user":{"login":"Particular","id":5038441,"avatar_url":"https://avatars.githubusercontent.com/u/5038441?v=3","gravatar_id":"","url":"https://api.github.com/users/Particular","html_url":"https://github.com/Particular","followers_url":"https://api.github.com/users/Particular/followers","following_url":"https://api.github.com/users/Particular/following{/other_user}","gists_url":"https://api.github.com/users/Particular/gists{/gist_id}","starred_url":"https://api.github.com/users/Particular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Particular/subscriptions","organizations_url":"https://api.github.com/users/Particular/orgs","repos_url":"https://api.github.com/users/Particular/repos","events_url":"https://api.github.com/users/Particular/events{/privacy}","received_events_url":"https://api.github.com/users/Particular/received_events","type":"Organization","site_admin":false},"repo":{"id":11727301,"name":"docs.particular.net","full_name":"Particular/docs.particular.net","owner":{"login":"Particular","id":5038441,"avatar_url":"https://avatars.githubusercontent.com/u/5038441?v=3","gravatar_id":"","url":"https://api.github.com/users/Particular","html_url":"https://github.com/Particular","followers_url":"https://api.github.com/users/Particular/followers","following_url":"https://api.github.com/users/Particular/following{/other_user}","gists_url":"https://api.github.com/users/Particular/gists{/gist_id}","starred_url":"https://api.github.com/users/Particular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Particular/subscriptions","organizations_url":"https://api.github.com/users/Particular/orgs","repos_url":"https://api.github.com/users/Particular/repos","events_url":"https://api.github.com/users/Particular/events{/privacy}","received_events_url":"https://api.github.com/users/Particular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Particular/docs.particular.net","description":"Contains all the content for the Particular documentation site","fork":false,"url":"https://api.github.com/repos/Particular/docs.particular.net","forks_url":"https://api.github.com/repos/Particular/docs.particular.net/forks","keys_url":"https://api.github.com/repos/Particular/docs.particular.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Particular/docs.particular.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Particular/docs.particular.net/teams","hooks_url":"https://api.github.com/repos/Particular/docs.particular.net/hooks","issue_events_url":"https://api.github.com/repos/Particular/docs.particular.net/issues/events{/number}","events_url":"https://api.github.com/repos/Particular/docs.particular.net/events","assignees_url":"https://api.github.com/repos/Particular/docs.particular.net/assignees{/user}","branches_url":"https://api.github.com/repos/Particular/docs.particular.net/branches{/branch}","tags_url":"https://api.github.com/repos/Particular/docs.particular.net/tags","blobs_url":"https://api.github.com/repos/Particular/docs.particular.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Particular/docs.particular.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Particular/docs.particular.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/Particular/docs.particular.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Particular/docs.particular.net/statuses/{sha}","languages_url":"https://api.github.com/repos/Particular/docs.particular.net/languages","stargazers_url":"https://api.github.com/repos/Particular/docs.particular.net/stargazers","contributors_url":"https://api.github.com/repos/Particular/docs.particular.net/contributors","subscribers_url":"https://api.github.com/repos/Particular/docs.particular.net/subscribers","subscription_url":"https://api.github.com/repos/Particular/docs.particular.net/subscription","commits_url":"https://api.github.com/repos/Particular/docs.particular.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/Particular/docs.particular.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/Particular/docs.particular.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/Particular/docs.particular.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/Particular/docs.particular.net/contents/{+path}","compare_url":"https://api.github.com/repos/Particular/docs.particular.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Particular/docs.particular.net/merges","archive_url":"https://api.github.com/repos/Particular/docs.particular.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Particular/docs.particular.net/downloads","issues_url":"https://api.github.com/repos/Particular/docs.particular.net/issues{/number}","pulls_url":"https://api.github.com/repos/Particular/docs.particular.net/pulls{/number}","milestones_url":"https://api.github.com/repos/Particular/docs.particular.net/milestones{/number}","notifications_url":"https://api.github.com/repos/Particular/docs.particular.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Particular/docs.particular.net/labels{/name}","releases_url":"https://api.github.com/repos/Particular/docs.particular.net/releases{/id}","deployments_url":"https://api.github.com/repos/Particular/docs.particular.net/deployments","created_at":"2013-07-28T23:18:15Z","updated_at":"2016-02-19T18:24:25Z","pushed_at":"2016-02-26T00:01:49Z","git_url":"git://github.com/Particular/docs.particular.net.git","ssh_url":"git@github.com:Particular/docs.particular.net.git","clone_url":"https://github.com/Particular/docs.particular.net.git","svn_url":"https://github.com/Particular/docs.particular.net","homepage":"http://docs.particular.net","size":40187,"stargazers_count":20,"watchers_count":20,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":106,"mirror_url":null,"open_issues_count":118,"forks":106,"open_issues":118,"watchers":20,"default_branch":"master"}},"base":{"label":"Particular:master","ref":"master","sha":"c64de8ce77573b1b3ebd7c34faa01252a7363b27","user":{"login":"Particular","id":5038441,"avatar_url":"https://avatars.githubusercontent.com/u/5038441?v=3","gravatar_id":"","url":"https://api.github.com/users/Particular","html_url":"https://github.com/Particular","followers_url":"https://api.github.com/users/Particular/followers","following_url":"https://api.github.com/users/Particular/following{/other_user}","gists_url":"https://api.github.com/users/Particular/gists{/gist_id}","starred_url":"https://api.github.com/users/Particular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Particular/subscriptions","organizations_url":"https://api.github.com/users/Particular/orgs","repos_url":"https://api.github.com/users/Particular/repos","events_url":"https://api.github.com/users/Particular/events{/privacy}","received_events_url":"https://api.github.com/users/Particular/received_events","type":"Organization","site_admin":false},"repo":{"id":11727301,"name":"docs.particular.net","full_name":"Particular/docs.particular.net","owner":{"login":"Particular","id":5038441,"avatar_url":"https://avatars.githubusercontent.com/u/5038441?v=3","gravatar_id":"","url":"https://api.github.com/users/Particular","html_url":"https://github.com/Particular","followers_url":"https://api.github.com/users/Particular/followers","following_url":"https://api.github.com/users/Particular/following{/other_user}","gists_url":"https://api.github.com/users/Particular/gists{/gist_id}","starred_url":"https://api.github.com/users/Particular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Particular/subscriptions","organizations_url":"https://api.github.com/users/Particular/orgs","repos_url":"https://api.github.com/users/Particular/repos","events_url":"https://api.github.com/users/Particular/events{/privacy}","received_events_url":"https://api.github.com/users/Particular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Particular/docs.particular.net","description":"Contains all the content for the Particular documentation site","fork":false,"url":"https://api.github.com/repos/Particular/docs.particular.net","forks_url":"https://api.github.com/repos/Particular/docs.particular.net/forks","keys_url":"https://api.github.com/repos/Particular/docs.particular.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Particular/docs.particular.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Particular/docs.particular.net/teams","hooks_url":"https://api.github.com/repos/Particular/docs.particular.net/hooks","issue_events_url":"https://api.github.com/repos/Particular/docs.particular.net/issues/events{/number}","events_url":"https://api.github.com/repos/Particular/docs.particular.net/events","assignees_url":"https://api.github.com/repos/Particular/docs.particular.net/assignees{/user}","branches_url":"https://api.github.com/repos/Particular/docs.particular.net/branches{/branch}","tags_url":"https://api.github.com/repos/Particular/docs.particular.net/tags","blobs_url":"https://api.github.com/repos/Particular/docs.particular.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Particular/docs.particular.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Particular/docs.particular.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/Particular/docs.particular.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Particular/docs.particular.net/statuses/{sha}","languages_url":"https://api.github.com/repos/Particular/docs.particular.net/languages","stargazers_url":"https://api.github.com/repos/Particular/docs.particular.net/stargazers","contributors_url":"https://api.github.com/repos/Particular/docs.particular.net/contributors","subscribers_url":"https://api.github.com/repos/Particular/docs.particular.net/subscribers","subscription_url":"https://api.github.com/repos/Particular/docs.particular.net/subscription","commits_url":"https://api.github.com/repos/Particular/docs.particular.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/Particular/docs.particular.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/Particular/docs.particular.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/Particular/docs.particular.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/Particular/docs.particular.net/contents/{+path}","compare_url":"https://api.github.com/repos/Particular/docs.particular.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Particular/docs.particular.net/merges","archive_url":"https://api.github.com/repos/Particular/docs.particular.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Particular/docs.particular.net/downloads","issues_url":"https://api.github.com/repos/Particular/docs.particular.net/issues{/number}","pulls_url":"https://api.github.com/repos/Particular/docs.particular.net/pulls{/number}","milestones_url":"https://api.github.com/repos/Particular/docs.particular.net/milestones{/number}","notifications_url":"https://api.github.com/repos/Particular/docs.particular.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Particular/docs.particular.net/labels{/name}","releases_url":"https://api.github.com/repos/Particular/docs.particular.net/releases{/id}","deployments_url":"https://api.github.com/repos/Particular/docs.particular.net/deployments","created_at":"2013-07-28T23:18:15Z","updated_at":"2016-02-19T18:24:25Z","pushed_at":"2016-02-26T00:01:49Z","git_url":"git://github.com/Particular/docs.particular.net.git","ssh_url":"git@github.com:Particular/docs.particular.net.git","clone_url":"https://github.com/Particular/docs.particular.net.git","svn_url":"https://github.com/Particular/docs.particular.net","homepage":"http://docs.particular.net","size":40187,"stargazers_count":20,"watchers_count":20,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":106,"mirror_url":null,"open_issues_count":118,"forks":106,"open_issues":118,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Particular/docs.particular.net/pulls/1214"},"html":{"href":"https://github.com/Particular/docs.particular.net/pull/1214"},"issue":{"href":"https://api.github.com/repos/Particular/docs.particular.net/issues/1214"},"comments":{"href":"https://api.github.com/repos/Particular/docs.particular.net/issues/1214/comments"},"review_comments":{"href":"https://api.github.com/repos/Particular/docs.particular.net/pulls/1214/comments"},"review_comment":{"href":"https://api.github.com/repos/Particular/docs.particular.net/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Particular/docs.particular.net/pulls/1214/commits"},"statuses":{"href":"https://api.github.com/repos/Particular/docs.particular.net/statuses/bb4d4124808dd1c7b4d31083ba5f6ae60ae590b9"}}}}