{"action":"created","issue":{"url":"https://api.github.com/repos/juju/docs/issues/99","labels_url":"https://api.github.com/repos/juju/docs/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/juju/docs/issues/99/comments","events_url":"https://api.github.com/repos/juju/docs/issues/99/events","html_url":"https://github.com/juju/docs/issues/99","id":33590972,"number":99,"title":"Docs: HA logging","user":{"login":"voidspace","id":127179,"avatar_url":"https://avatars.githubusercontent.com/u/127179?v=3","gravatar_id":"","url":"https://api.github.com/users/voidspace","html_url":"https://github.com/voidspace","followers_url":"https://api.github.com/users/voidspace/followers","following_url":"https://api.github.com/users/voidspace/following{/other_user}","gists_url":"https://api.github.com/users/voidspace/gists{/gist_id}","starred_url":"https://api.github.com/users/voidspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voidspace/subscriptions","organizations_url":"https://api.github.com/users/voidspace/orgs","repos_url":"https://api.github.com/users/voidspace/repos","events_url":"https://api.github.com/users/voidspace/events{/privacy}","received_events_url":"https://api.github.com/users/voidspace/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/juju/docs/labels/1.20","name":"1.20","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"petermatulis","id":6303808,"avatar_url":"https://avatars.githubusercontent.com/u/6303808?v=3","gravatar_id":"","url":"https://api.github.com/users/petermatulis","html_url":"https://github.com/petermatulis","followers_url":"https://api.github.com/users/petermatulis/followers","following_url":"https://api.github.com/users/petermatulis/following{/other_user}","gists_url":"https://api.github.com/users/petermatulis/gists{/gist_id}","starred_url":"https://api.github.com/users/petermatulis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermatulis/subscriptions","organizations_url":"https://api.github.com/users/petermatulis/orgs","repos_url":"https://api.github.com/users/petermatulis/repos","events_url":"https://api.github.com/users/petermatulis/events{/privacy}","received_events_url":"https://api.github.com/users/petermatulis/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/juju/docs/milestones/2","html_url":"https://github.com/juju/docs/milestones/1.20","labels_url":"https://api.github.com/repos/juju/docs/milestones/2/labels","id":660138,"number":2,"title":"1.20","description":"","creator":{"login":"evilnick","id":115290,"avatar_url":"https://avatars.githubusercontent.com/u/115290?v=3","gravatar_id":"","url":"https://api.github.com/users/evilnick","html_url":"https://github.com/evilnick","followers_url":"https://api.github.com/users/evilnick/followers","following_url":"https://api.github.com/users/evilnick/following{/other_user}","gists_url":"https://api.github.com/users/evilnick/gists{/gist_id}","starred_url":"https://api.github.com/users/evilnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilnick/subscriptions","organizations_url":"https://api.github.com/users/evilnick/orgs","repos_url":"https://api.github.com/users/evilnick/repos","events_url":"https://api.github.com/users/evilnick/events{/privacy}","received_events_url":"https://api.github.com/users/evilnick/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2014-05-15T15:10:25Z","updated_at":"2014-05-15T15:48:33Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2014-05-15T14:34:24Z","updated_at":"2015-07-29T18:46:44Z","closed_at":null,"body":"A note on logging for HA. This should be part of the HA docs, when we have them.\r\n\r\nLogging with HA\r\n===============\r\n\r\nWhen running JuJu with HA (ensure-availability) logging is done to all state servers. \"juju debug-log\" connects to a random state server, but you'll still see logs from all the state servers and all units. This means that if your master (term?) state server dies, you'll still have logs on the other state servers and still see new logging.Essentially this means that logging works the same with HA as it does without HA. You can use \"juju debug-log\", or ssh into a state server and view the log file directly, to see all the logs.\r\n\r\nLogging to a state server starts once a new state server comes online, i.e. after running ensure-availability. So if your master state server dies you will lose the logs from before new state servers were started.This will be fixed at some point, so new state servers will have all existing logs synced to them when they come online. This is not currently the case."},"comment":{"url":"https://api.github.com/repos/juju/docs/issues/comments/126055401","html_url":"https://github.com/juju/docs/issues/99#issuecomment-126055401","issue_url":"https://api.github.com/repos/juju/docs/issues/99","id":126055401,"user":{"login":"petermatulis","id":6303808,"avatar_url":"https://avatars.githubusercontent.com/u/6303808?v=3","gravatar_id":"","url":"https://api.github.com/users/petermatulis","html_url":"https://github.com/petermatulis","followers_url":"https://api.github.com/users/petermatulis/followers","following_url":"https://api.github.com/users/petermatulis/following{/other_user}","gists_url":"https://api.github.com/users/petermatulis/gists{/gist_id}","starred_url":"https://api.github.com/users/petermatulis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermatulis/subscriptions","organizations_url":"https://api.github.com/users/petermatulis/orgs","repos_url":"https://api.github.com/users/petermatulis/repos","events_url":"https://api.github.com/users/petermatulis/events{/privacy}","received_events_url":"https://api.github.com/users/petermatulis/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T18:46:44Z","updated_at":"2015-07-29T18:46:44Z","body":"Reminder to talk about this here:\r\n\r\n- [juju-ha](https://jujucharms.com/docs/devel/juju-ha.html)\r\n- [troubleshooting-debug-log](https://jujucharms.com/docs/devel/troubleshooting-debug-log.html)"}}