Sdas0000 commented on issue #4815:
URL: https://github.com/apache/couchdb/issues/4815#issuecomment-1791409321
After setting compaction logging information , we are still not getting
anything in our log for compaction ,
"log": {
"level": "error",
"writer": "journald"
},
.....
"smoosh": {
"compaction_log_level": "notice",
"db_channels": "ratio_dbs, slack_dbs",
"view_channels": "ratio_views,slack_views"
},
.....
"couchdb": {
"attachment_stream_buffer_size": "4096",
"changes_doc_ids_optimization_threshold": "100",
"compaction_log_level": "notice",
"database_dir": "./data",
"default_engine": "couch",
"default_security": "admin_only",
"file_compression": "snappy",
"max_dbs_open": "100000",
"max_document_size": "4194304",
"os_process_timeout": "5000",
"users_db_security_editable": "false",
"uuid": "5b48005e5b5ff19ec5b18e04068ffa40",
"view_index_dir": "./data"
}
If we set log.level = info , we are getting compaction information :
"log": {
"level": "info",
"writer": "journald"
},
Nov 02 19:14:41 xxxxxxx couchdb[2333]:
[email protected] <0.2104.10>
-------- Starting compaction for db
"shards/c0000000-dfffffff/item_store-0.1698775231" at 141132
Nov 02 19:14:41 xxxxxxx couchdb[2333]:
[email protected] <0.2079.10>
-------- Starting compaction for db
"shards/e0000000-ffffffff/item_store-0.1698775231" at 141325
Nov 02 19:14:41 xxxxxxx couchdb[2333]:
[email protected] <0.1331.9>
-------- Starting compaction for db
"shards/80000000-9fffffff/item_store-0.1698775231" at 141371
Nov 02 19:14:41 xxxxxxx couchdb[2333]:
[email protected] <0.2107.10>
-------- Starting compaction for db
"shards/60000000-7fffffff/item_store-0.1698775231" at 141524
Nov 02 19:14:41 xxxxxxx couchdb[2333]:
[email protected] <0.2108.10>
-------- Starting compaction for db
"shards/20000000-3fffffff/item_store-0.1698775231" at 141585
Nov 02 19:14:41 xxxxxxxx couchdb[2333]:
[email protected] <0.2084.10>
-------- Starting compaction for db
"shards/a0000000-bfffffff/item_store-0.1698775231" at 141778
Nov 02 19:14:41 xxxxxxxx couchdb[2333]:
[email protected] <0.2112.10>
-------- Starting compaction for db
"shards/00000000-1fffffff/item_store-0.1698775231" at 140895
Nov 02 19:14:41 xxxxxxxx couchdb[2333]:
[email protected] <0.1310.9>
-------- Starting compaction for db
"shards/40000000-5fffffff/item_store-0.1698775231" at 141210
Couchdb version :
{
"couchdb": "Welcome",
"version": "3.3.2",
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]