Skip to content

Instantly share code, notes, and snippets.

@ArihantRk
Created March 16, 2017 06:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArihantRk/190481e8d29f0590212bc926012f1a1c to your computer and use it in GitHub Desktop.
Save ArihantRk/190481e8d29f0590212bc926012f1a1c to your computer and use it in GitHub Desktop.
Access logs
15:03:04.978750 2017-03-13T15:03:04.978+05:30 ==== Couchbase Sync Gateway/1.4.0(2;9e18d3e) ====
15:03:04.978769 2017-03-13T15:03:04.978+05:30 requestedSoftFDLimit < currentSoftFdLimit (250000 < 1048576) no action needed
15:03:04.978790 2017-03-13T15:03:04.978+05:30 Opening db /ptxdata as bucket "ptxdata", pool "default", server <http://prod-CBS-V1.service.1.kodiakptt.com:8091>
15:03:04.978888 2017-03-13T15:03:04.978+05:30 Opening Couchbase database ptxdata on <http://prod-CBS-V1.service.1.kodiakptt.com:8091> as user "ptxdata"
15:11:07.644406 2017-03-13T15:11:07.644+05:30 **NOTE:** "ptxdata"'s sync function has changed. The new function may assign different channels to documents, or permissions to users. You may want to re-sync the database to update these.
15:12:07.674183 2017-03-13T15:12:07.674+05:30 Events: Creating new JSEventFunction
15:12:07.674242 2017-03-13T15:12:07.674+05:30 Events: Registered event handler: Webhook handler [http://127.0.0.1:8080/kodiakams/changesFeed/PTX], for event type 0
15:12:07.674249 2017-03-13T15:12:07.674+05:30 Events: Creating new JSEventFunction
15:12:07.674262 2017-03-13T15:12:07.674+05:30 Events: Registered event handler: Webhook handler [http://127.0.0.1:8080/kodiakams/changesFeed/Location], for event type 0
15:12:07.674267 2017-03-13T15:12:07.674+05:30 Events: Creating new JSEventFunction
15:12:07.674277 2017-03-13T15:12:07.674+05:30 Events: Registered event handler: Webhook handler [http://127.0.0.1:8080/kodiakams/changesFeed/KPNS], for event type 0
15:12:07.674283 2017-03-13T15:12:07.674+05:30 Events: Starting event manager with max processes:200, wait time:30000 ms
15:12:07.674310 2017-03-13T15:12:07.674+05:30 Starting admin server on :4985
15:12:07.678592 2017-03-13T15:12:07.678+05:30 Starting server on :4984 ...
Error logsLog
23:23:08.468759 2017-03-15T23:23:08.468-05:00 ==== Couchbase Sync Gateway/1.4.0(2;9e18d3e) ====
23:23:08.468796 2017-03-15T23:23:08.468-05:00 requestedSoftFDLimit < currentSoftFdLimit (250000 < 1048576) no action needed
23:23:08.468816 2017-03-15T23:23:08.468-05:00 Opening db /ptxdata as bucket "ptxdata", pool "default", server <http://prod-CBS-V1.service.2.kodiakptt.com:8091>
23:23:08.468886 2017-03-15T23:23:08.468-05:00 Opening Couchbase database ptxdata on <http://prod-CBS-V1.service.2.com:8091> as user "ptxdata"
00:04:02.024869 2017-03-16T00:04:02.024-05:00 WARNING: Error trying to query ViewPrincipals: error executing view req at http://10.2.1.192:8092/ptxdata/_design/sync_gateway/_view/principals?limit=1&stale=false: 500 Internal Server Error - {"error":"error","reason":"revision_sync_failed"}
-- rest.collectAccessRelatedWarnings() at server_context.go:925
00:04:02.025165 2017-03-16T00:04:02.025-05:00 Events: Creating new JSEventFunction
00:04:02.025247 2017-03-16T00:04:02.025-05:00 Events: Registered event handler: Webhook handler [http://127.0.0.1:8080/ams/changesFeed/PTX], for event type 0
00:04:02.025260 2017-03-16T00:04:02.025-05:00 Events: Creating new JSEventFunction
00:04:02.025272 2017-03-16T00:04:02.025-05:00 Events: Registered event handler: Webhook handler [http://127.0.0.1:8080/ams/changesFeed/Location], for event type 0
00:04:02.025277 2017-03-16T00:04:02.025-05:00 Events: Creating new JSEventFunction
00:04:02.025286 2017-03-16T00:04:02.025-05:00 Events: Registered event handler: Webhook handler [http://127.0.0.1:8080/ams/changesFeed/KPNS], for event type 0
00:04:02.025292 2017-03-16T00:04:02.025-05:00 Events: Starting event manager with max processes:200, wait time:30000 ms
00:04:02.025351 2017-03-16T00:04:02.025-05:00 Starting admin server on :4985
00:04:02.031029 2017-03-16T00:04:02.031-05:00 Starting server on :4984 ...
Error
2017-03-15T23:23:08.468-05:00 Enabling logging: [CRUD HTTP+ HTTP Access Events]
_time=2017-03-15T23:23:08.489-05:00 _level=INFO _msg= Trying with selected node 1
_time=2017-03-15T23:23:08.490-05:00 _level=INFO _msg= Trying with http://10.2.1.192:8091/pools/default/bucketsStreaming/ptxdata
_time=2017-03-15T23:23:08.501-05:00 _level=INFO _msg=Got new configuration for bucket ptxdata
_time=2017-03-15T23:23:08.530-05:00 _level=INFO _msg= Trying with selected node 1
_time=2017-03-16T00:04:02.024-05:00 _level=INFO _msg=go-couchbase: call to ViewCustom("sync_gateway", "principals") in github.com/couchbase/sync_gateway/base.CouchbaseBucket.View.func1 took 25m49.624553358s
_time=2017-03-13T15:03:05.074+05:30 _level=INFO _msg= Trying with selected node 1
_time=2017-03-13T15:03:05.075+05:30 _level=INFO _msg= Trying with http://192.168.5.34:8091/pools/default/bucketsStreaming/ptxdata
_time=2017-03-13T15:03:05.109+05:30 _level=INFO _msg=Got new configuration for bucket ptxdata
_time=2017-03-13T15:08:23.860+05:30 _level=INFO _msg= Trying with selected node 1
_time=2017-03-13T15:12:07.673+05:30 _level=INFO _msg=go-couchbase: call to ViewCustom("sync_gateway", "principals") in github.com/couchbase/sync_gateway/base.CouchbaseBucket.View.func1 took 1m0.029431359s
Log
23:23:08.468759 2017-03-15T23:23:08.468-05:00 ==== Couchbase Sync Gateway/1.4.0(2;9e18d3e) ====
23:23:08.468796 2017-03-15T23:23:08.468-05:00 requestedSoftFDLimit < currentSoftFdLimit (250000 < 1048576) no action needed
23:23:08.468816 2017-03-15T23:23:08.468-05:00 Opening db /ptxdata as bucket "ptxdata", pool "default", server <http://prod-CBS-V1.service.2.kodiakptt.com:8091>
23:23:08.468886 2017-03-15T23:23:08.468-05:00 Opening Couchbase database ptxdata on <http://prod-CBS-V1.service.2.com:8091> as user "ptxdata"
00:04:02.024869 2017-03-16T00:04:02.024-05:00 WARNING: Error trying to query ViewPrincipals: error executing view req at http://10.2.1.192:8092/ptxdata/_design/sync_gateway/_view/principals?limit=1&stale=false: 500 Internal Server Error - {"error":"error","reason":"revision_sync_failed"}
-- rest.collectAccessRelatedWarnings() at server_context.go:925
00:04:02.025165 2017-03-16T00:04:02.025-05:00 Events: Creating new JSEventFunction
00:04:02.025247 2017-03-16T00:04:02.025-05:00 Events: Registered event handler: Webhook handler [http://127.0.0.1:8080/ams/changesFeed/PTX], for event type 0
00:04:02.025260 2017-03-16T00:04:02.025-05:00 Events: Creating new JSEventFunction
00:04:02.025272 2017-03-16T00:04:02.025-05:00 Events: Registered event handler: Webhook handler [http://127.0.0.1:8080/ams/changesFeed/Location], for event type 0
00:04:02.025277 2017-03-16T00:04:02.025-05:00 Events: Creating new JSEventFunction
00:04:02.025286 2017-03-16T00:04:02.025-05:00 Events: Registered event handler: Webhook handler [http://127.0.0.1:8080/ams/changesFeed/KPNS], for event type 0
00:04:02.025292 2017-03-16T00:04:02.025-05:00 Events: Starting event manager with max processes:200, wait time:30000 ms
00:04:02.025351 2017-03-16T00:04:02.025-05:00 Starting admin server on :4985
00:04:02.031029 2017-03-16T00:04:02.031-05:00 Starting server on :4984 ...
Error logs
2017-03-15T23:23:08.468-05:00 Enabling logging: [CRUD HTTP+ HTTP Access Events]
_time=2017-03-15T23:23:08.489-05:00 _level=INFO _msg= Trying with selected node 1
_time=2017-03-15T23:23:08.490-05:00 _level=INFO _msg= Trying with http://10.2.1.192:8091/pools/default/bucketsStreaming/ptxdata
_time=2017-03-15T23:23:08.501-05:00 _level=INFO _msg=Got new configuration for bucket ptxdata
_time=2017-03-15T23:23:08.530-05:00 _level=INFO _msg= Trying with selected node 1
_time=2017-03-16T00:04:02.024-05:00 _level=INFO _msg=go-couchbase: call to ViewCustom("sync_gateway", "principals") in github.com/couchbase/sync_gateway/base.CouchbaseBucket.View.func1 took 25m49.624553358s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment