Skip to content

Instantly share code, notes, and snippets.

@toddfreese
Created March 19, 2014 19:03
Show Gist options
  • Select an option

  • Save toddfreese/9648881 to your computer and use it in GitHub Desktop.

Select an option

Save toddfreese/9648881 to your computer and use it in GitHub Desktop.
SG Logs
sh-3.2# /Volumes/Backup/sync_gateway -log=HTTP+,Changes,Cache /Users/admin/Desktop/couchbase-sync-gateway/bin/config.json
14:01:19.971450 Enabling logging: [HTTP+ Changes Cache]
14:01:19.971504 ==== Couchbase Sync Gateway/0.93 ====
14:01:19.971516 Configured Go to use all 8 CPUs; setenv GOMAXPROCS to override this
14:01:19.971522 Configured MaxFileDescriptors (RLIMIT_NOFILE) to 5000
14:01:19.971531 Opening db /shotbotdb as bucket "sync_gateway", pool "default", server <http://approvalstest.filmworkers.com:8091>
14:01:19.971560 Opening Couchbase database sync_gateway on <http://approvalstest.filmworkers.com:8091>
14:01:20.006506 Cache: Initialized changeCache with nextSequence=#110
14:01:20.008559 Reset guest user to config
14:01:20.008574 Starting admin server on 127.0.0.1:4985
14:01:20.010070 Starting server on :4984 ...
14:01:25.512816 HTTP: #002: GET /shotbotdb/_local/d43313991fda0afc388d25c8b7e10379dd8ad59e
14:01:25.513066 HTTP: #001: GET /shotbotdb/_local/3b0316a4f7435f47b8c9c354164b567cb6bff625
14:01:25.513140 HTTP+: #002: --> 200 (0.0 ms)
14:01:25.513213 HTTP+: #001: --> 200 (0.0 ms)
14:01:25.518320 HTTP: #003: POST /shotbotdb/_changes
14:01:25.518394 Changes: MultiChangesFeed({*}, {Since:109 Limit:0 Conflicts:true IncludeDocs:false Wait:false Continuous:false Terminator:0xc21011c3c0}) ...
14:01:25.518424 Cache: getCachedChanges("*", 109) --> 0 changes valid from #110
14:01:25.518429 Changes: MultiChangesFeed done
14:01:25.518438 HTTP+: #003: --> 200 OK (0.0 ms)
14:01:25.521974 HTTP: #004: POST /shotbotdb/_changes
14:01:25.522003 Changes: MultiChangesFeed({*}, {Since:109 Limit:0 Conflicts:true IncludeDocs:false Wait:true Continuous:false Terminator:0xc21011c5a0}) ...
14:01:25.522035 Cache: getCachedChanges("*", 109) --> 0 changes valid from #110
14:01:26.013661 Cache: getCachedChanges("*", 109) --> 0 changes valid from #110
14:01:35.843935 HTTP: #005: GET /shotbotdb/_local/bfd88bcbca5a076d9951c45437d2cce461debda1
14:01:35.844285 HTTP: #005: --> 404 missing (0.0 ms)
14:01:36.991785 HTTP: #006: GET /shotbotdb/_local/cabb6d701b4fcbb6826e564fa2e9f18e01105c6d
14:01:36.992105 HTTP: #006: --> 404 missing (0.0 ms)
14:01:37.000915 HTTP: #007: POST /shotbotdb/_changes
14:01:37.001001 Changes: MultiChangesFeed({*}, {Since:0 Limit:0 Conflicts:true IncludeDocs:false Wait:false Continuous:false Terminator:0xc210127660}) ...
14:01:37.001053 Cache: getCachedChanges("*", 0) --> 0 changes valid from #110
14:01:37.001065 Cache: Querying 'channels' view for "*" (start=#1, end=#110, limit=0)
14:01:37.020611 Cache: Got 60 rows from view for "*": #1 ... #109
14:01:37.020632 Cache: Initialized cache of "*" with 60 entries from view (#1--#109)
14:01:37.020636 Cache: GetChangesInChannel("*") --> 60 rows
14:01:37.021848 Changes: MultiChangesFeed done
14:01:37.021883 HTTP+: #007: --> 200 OK (0.0 ms)
14:01:37.033924 HTTP: #008: POST /shotbotdb/_bulk_get?revs=true&attachments=true
14:01:37.036399 HTTP+: #008: --> 200 (0.0 ms)
14:01:37.055246 HTTP: #009: POST /shotbotdb/_changes
14:01:37.057704 Changes: MultiChangesFeed({*}, {Since:109 Limit:0 Conflicts:true IncludeDocs:false Wait:true Continuous:false Terminator:0xc2100b06c0}) ...
14:01:37.549914 HTTP: #010: POST /shotbotdb/_bulk_get?revs=true&attachments=true
14:01:37.550174 HTTP: #011: POST /shotbotdb/_bulk_get?revs=true&attachments=true
14:01:37.554472 HTTP+: #011: --> 200 (0.0 ms)
14:01:37.575192 HTTP+: #010: --> 200 (0.0 ms)
14:01:42.071627 HTTP: #012: PUT /shotbotdb/_local/cabb6d701b4fcbb6826e564fa2e9f18e01105c6d
14:01:42.082408 HTTP+: #012: --> 201 (0.0 ms)
14:02:37.531286 Cache: Pruned 10 old entries from channel "*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment