{"action":"opened","issue":{"url":"https://api.github.com/repos/couchbase/go-couchbase/issues/45","labels_url":"https://api.github.com/repos/couchbase/go-couchbase/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/go-couchbase/issues/45/comments","events_url":"https://api.github.com/repos/couchbase/go-couchbase/issues/45/events","html_url":"https://github.com/couchbase/go-couchbase/issues/45","id":75768790,"number":45,"title":"Logging doesn't always use the same unit","user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-12T22:52:29Z","updated_at":"2015-05-12T22:52:29Z","closed_at":null,"body":"From @vmx in https://github.com/couchbase/sync_gateway/issues/850\r\n\r\nIn the Sync Gateway logging the timings are sometimes seconds and sometimes milliseconds. That makes processing the log files hard. Here's an example\r\n\r\n    2015/05/04 18:00:52 go-couchbase: call to ViewCustom(\"sync_gateway\", \"access\") in github.com/couchbase/sync_gateway/db.(*DatabaseContext).ComputeChannelsForPrincipal took 660.192061ms\r\n    2015/05/04 18:00:52 go-couchbase: call to ViewCustom(\"sync_gateway\", \"access\") in github.com/couchbase/sync_gateway/db.(*DatabaseContext).ComputeChannelsForPrincipal took 1.013949095s\r\n"}}