def.ini. 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568
  1. ; Upgrading CouchDB will overwrite this file.
  2. [vendor]
  3. name = The Apache Software Foundation
  4. [couchdb]
  5. uuid =
  6. database_dir = ./data
  7. view_index_dir = ./data
  8. ; util_driver_dir =
  9. ; plugin_dir =
  10. os_process_timeout = 5000 ; 5 seconds. for view servers.
  11. max_dbs_open = 500
  12. delayed_commits = false
  13. ; Method used to compress everything that is appended to database and view index files, except
  14. ; for attachments (see the attachments section). Available methods are:
  15. ;
  16. ; none - no compression
  17. ; snappy - use google snappy, a very fast compressor/decompressor
  18. ; deflate_N - use zlib's deflate, N is the compression level which ranges from 1 (fastest,
  19. ; lowest compression ratio) to 9 (slowest, highest compression ratio)
  20. file_compression = snappy
  21. ; Higher values may give better read performance due to less read operations
  22. ; and/or more OS page cache hits, but they can also increase overall response
  23. ; time for writes when there are many attachment write requests in parallel.
  24. attachment_stream_buffer_size = 4096
  25. ; Default security object for databases if not explicitly set
  26. ; everyone - same as couchdb 1.0, everyone can read/write
  27. ; admin_only - only admins can read/write
  28. ; admin_local - sharded dbs on :5984 are read/write for everyone,
  29. ; local dbs on :5986 are read/write for admins only
  30. default_security = admin_local
  31. ; btree_chunk_size = 1279
  32. ; maintenance_mode = false
  33. ; stem_interactive_updates = true
  34. ; uri_file =
  35. ; The speed of processing the _changes feed with doc_ids filter can be
  36. ; influenced directly with this setting - increase for faster processing at the
  37. ; expense of more memory usage.
  38. changes_doc_ids_optimization_threshold = 100
  39. ; Maximum document ID length. Can be set to an integer or 'infinity'.
  40. ;max_document_id_length = infinity
  41. ;
  42. ; Limit maximum document size. Requests to create / update documents with a body
  43. ; size larger than this will fail with a 413 http error. This limit applies to
  44. ; requests which update a single document as well as individual documents from
  45. ; a _bulk_docs request. Since there is no canonical size of json encoded data,
  46. ; due to variabiliy in what is escaped or how floats are encoded, this limit is
  47. ; applied conservatively. For example 1.0e+16 could be encoded as 1e16, so 4 used
  48. ; for size calculation instead of 7.
  49. ;max_document_size = 4294967296 ; bytes
  50. ;
  51. ; Maximum attachment size.
  52. ; max_attachment_size = infinity
  53. ;
  54. ; Do not update the least recently used DB cache on reads, only writes
  55. ;update_lru_on_read = false
  56. ;
  57. ; The default storage engine to use when creating databases
  58. ; is set as a key into the [couchdb_engines] section.
  59. default_engine = couch
  60. ;
  61. ; Enable this to only "soft-delete" databases when DELETE /{db} requests are
  62. ; made. This will place a .recovery directory in your data directory and
  63. ; move deleted databases/shards there instead. You can then manually delete
  64. ; these files later, as desired.
  65. ;enable_database_recovery = false
  66. [couchdb_engines]
  67. ; The keys in this section are the filename extension that
  68. ; the specified engine module will use. This is important so
  69. ; that couch_server is able to find an existing database without
  70. ; having to ask every configured engine.
  71. couch = couch_bt_engine
  72. [cluster]
  73. q=8
  74. n=3
  75. ; placement = metro-dc-a:2,metro-dc-b:1
  76. ; Supply a comma-delimited list of node names that this node should
  77. ; contact in order to join a cluster. If a seedlist is configured the ``_up``
  78. ; endpoint will return a 404 until the node has successfully contacted at
  79. ; least one of the members of the seedlist and replicated an up-to-date copy
  80. ; of the ``_nodes``, ``_dbs``, and ``_users`` system databases.
  81. ; seedlist = couchdb@node1.example.com,couchdb@node2.example.com
  82. [chttpd]
  83. ; These settings affect the main, clustered port (5984 by default).
  84. port = 5984
  85. bind_address = 0.0.0.0
  86. backlog = 512
  87. docroot = ./share/www
  88. socket_options = [{sndbuf, 262144}, {nodelay, true}]
  89. server_options = [{recbuf, undefined}]
  90. require_valid_user = false
  91. ; List of headers that will be kept when the header Prefer: return=minimal is included in a request.
  92. ; If Server header is left out, Mochiweb will add its own one in.
  93. prefer_minimal = Cache-Control, Content-Length, Content-Range, Content-Type, ETag, Server, Transfer-Encoding, Vary
  94. ;
  95. ; Limit maximum number of databases when tying to get detailed information using
  96. ; _dbs_info in a request
  97. max_db_number_for_dbs_info_req = 100
  98. ; authentication handlers
  99. ; authentication_handlers = {chttpd_auth, cookie_authentication_handler}, {chttpd_auth, default_authentication_handler}
  100. ; uncomment the next line to enable proxy authentication
  101. ; authentication_handlers = {chttpd_auth, proxy_authentication_handler}, {chttpd_auth, cookie_authentication_handler}, {chttpd_auth, default_authentication_handler}
  102. ; prevent non-admins from accessing /_all_dbs
  103. ;admin_only_all_dbs = false
  104. [database_compaction]
  105. ; larger buffer sizes can originate smaller files
  106. doc_buffer_size = 524288 ; value in bytes
  107. checkpoint_after = 5242880 ; checkpoint after every N bytes were written
  108. [view_compaction]
  109. ; larger buffer sizes can originate smaller files
  110. keyvalue_buffer_size = 2097152 ; value in bytes
  111. [couch_peruser]
  112. ; If enabled, couch_peruser ensures that a private per-user database
  113. ; exists for each document in _users. These databases are writable only
  114. ; by the corresponding user. Databases are in the following form:
  115. ; userdb-{hex encoded username}
  116. enable = false
  117. ; If set to true and a user is deleted, the respective database gets
  118. ; deleted as well.
  119. delete_dbs = false
  120. ; Set a default q value for peruser-created databases that is different from
  121. ; cluster / q
  122. ;q = 1
  123. ; prefix for user databases. If you change this after user dbs have been
  124. ; created, the existing databases won't get deleted if the associated user
  125. ; gets deleted because of the then prefix mismatch.
  126. database_prefix = userdb-
  127. [httpd]
  128. port = 5986
  129. bind_address = 0.0.0.0
  130. authentication_handlers = {couch_httpd_auth, cookie_authentication_handler}, {couch_httpd_auth, default_authentication_handler}
  131. secure_rewrites = true
  132. allow_jsonp = false
  133. ; Options for the MochiWeb HTTP server.
  134. ;server_options = [{backlog, 128}, {acceptor_pool_size, 16}]
  135. ; For more socket options, consult Erlang's module 'inet' man page.
  136. ;socket_options = [{recbuf, undefined}, {sndbuf, 262144}, {nodelay, true}]
  137. socket_options = [{sndbuf, 262144}]
  138. enable_cors = false
  139. enable_xframe_options = false
  140. ; CouchDB can optionally enforce a maximum uri length;
  141. ; max_uri_length = 8000
  142. ; changes_timeout = 60000
  143. ; config_whitelist =
  144. ; max_uri_length =
  145. ; rewrite_limit = 100
  146. ; x_forwarded_host = X-Forwarded-Host
  147. ; x_forwarded_proto = X-Forwarded-Proto
  148. ; x_forwarded_ssl = X-Forwarded-Ssl
  149. ; Maximum allowed http request size. Applies to both clustered and local port.
  150. max_http_request_size = 4294967296 ; 4GB
  151. ; [httpd_design_handlers]
  152. ; _view =
  153. ; [ioq]
  154. ; concurrency = 10
  155. ; ratio = 0.01
  156. [ssl]
  157. port = 6984
  158. ; [chttpd_auth]
  159. ; authentication_db = _users
  160. ; [chttpd_auth_cache]
  161. ; max_lifetime = 600000
  162. ; max_objects =
  163. ; max_size = 104857600
  164. ; [mem3]
  165. ; nodes_db = _nodes
  166. ; shard_cache_size = 25000
  167. ; shards_db = _dbs
  168. ; sync_concurrency = 10
  169. ; [fabric]
  170. ; all_docs_concurrency = 10
  171. ; changes_duration =
  172. ; shard_timeout_factor = 2
  173. ; uuid_prefix_len = 7
  174. ; request_timeout = 60000
  175. ; all_docs_timeout = 10000
  176. ; attachments_timeout = 60000
  177. ; view_timeout = 3600000
  178. ; partition_view_timeout = 3600000
  179. ; [rexi]
  180. ; buffer_count = 2000
  181. ; server_per_node = true
  182. ; [global_changes]
  183. ; max_event_delay = 25
  184. ; max_write_delay = 500
  185. ; update_db = true
  186. ; [view_updater]
  187. ; min_writer_items = 100
  188. ; min_writer_size = 16777216
  189. [couch_httpd_auth]
  190. ; WARNING! This only affects the node-local port (5986 by default).
  191. ; You probably want the settings under [chttpd].
  192. authentication_db = _users
  193. authentication_redirect = /_utils/session.html
  194. require_valid_user = false
  195. timeout = 600 ; number of seconds before automatic logout
  196. auth_cache_size = 50 ; size is number of cache entries
  197. allow_persistent_cookies = true ; set to false to disallow persistent cookies
  198. iterations = 10 ; iterations for password hashing
  199. ; min_iterations = 1
  200. ; max_iterations = 1000000000
  201. ; password_scheme = pbkdf2
  202. ; proxy_use_secret = false
  203. ; comma-separated list of public fields, 404 if empty
  204. ; public_fields =
  205. ; secret =
  206. ; users_db_public = false
  207. ; cookie_domain = example.com
  208. ; CSP (Content Security Policy) Support for _utils
  209. [csp]
  210. enable = true
  211. ; header_value = default-src 'self'; img-src 'self'; font-src *; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline';
  212. [cors]
  213. credentials = false
  214. ; List of origins separated by a comma, * means accept all
  215. ; Origins must include the scheme: http://example.com
  216. ; You can't set origins: * and credentials = true at the same time.
  217. ;origins = *
  218. ; List of accepted headers separated by a comma
  219. ; headers =
  220. ; List of accepted methods
  221. ; methods =
  222. ; Configuration for a vhost
  223. ;[cors:http://example.com]
  224. ; credentials = false
  225. ; List of origins separated by a comma
  226. ; Origins must include the scheme: http://example.com
  227. ; You can't set origins: * and credentials = true at the same time.
  228. ;origins =
  229. ; List of accepted headers separated by a comma
  230. ; headers =
  231. ; List of accepted methods
  232. ; methods =
  233. ; Configuration for the design document cache
  234. ;[ddoc_cache]
  235. ; The maximum size of the cache in bytes
  236. ;max_size = 104857600 ; 100MiB
  237. ; The period each cache entry should wait before
  238. ; automatically refreshing in milliseconds
  239. ;refresh_timeout = 67000
  240. [x_frame_options]
  241. ; Settings same-origin will return X-Frame-Options: SAMEORIGIN.
  242. ; If same origin is set, it will ignore the hosts setting
  243. ; same_origin = true
  244. ; Settings hosts will return X-Frame-Options: ALLOW-FROM https://example.com/
  245. ; List of hosts separated by a comma. * means accept all
  246. ; hosts =
  247. [native_query_servers]
  248. ; erlang query server
  249. ; enable_erlang_query_server = false
  250. ; Changing reduce_limit to false will disable reduce_limit.
  251. ; If you think you're hitting reduce_limit with a "good" reduce function,
  252. ; please let us know on the mailing list so we can fine tune the heuristic.
  253. [query_server_config]
  254. ; commit_freq = 5
  255. reduce_limit = true
  256. os_process_limit = 100
  257. ; os_process_idle_limit = 300
  258. ; os_process_soft_limit = 100
  259. ; Timeout for how long a response from a busy view group server can take.
  260. ; "infinity" is also a valid configuration value.
  261. ;group_info_timeout = 5000
  262. [mango]
  263. ; Set to true to disable the "index all fields" text index, which can lead
  264. ; to out of memory issues when users have documents with nested array fields.
  265. ;index_all_disabled = false
  266. ; Default limit value for mango _find queries.
  267. ;default_limit = 25
  268. [indexers]
  269. couch_mrview = true
  270. [uuids]
  271. ; Known algorithms:
  272. ; random - 128 bits of random awesome
  273. ; All awesome, all the time.
  274. ; sequential - monotonically increasing ids with random increments
  275. ; First 26 hex characters are random. Last 6 increment in
  276. ; random amounts until an overflow occurs. On overflow, the
  277. ; random prefix is regenerated and the process starts over.
  278. ; utc_random - Time since Jan 1, 1970 UTC with microseconds
  279. ; First 14 characters are the time in hex. Last 18 are random.
  280. ; utc_id - Time since Jan 1, 1970 UTC with microseconds, plus utc_id_suffix string
  281. ; First 14 characters are the time in hex. uuids/utc_id_suffix string value is appended to these.
  282. algorithm = sequential
  283. ; The utc_id_suffix value will be appended to uuids generated by the utc_id algorithm.
  284. ; Replicating instances should have unique utc_id_suffix values to ensure uniqueness of utc_id ids.
  285. utc_id_suffix =
  286. # Maximum number of UUIDs retrievable from /_uuids in a single request
  287. max_count = 1000
  288. [attachments]
  289. compression_level = 8 ; from 1 (lowest, fastest) to 9 (highest, slowest), 0 to disable compression
  290. compressible_types = text/*, application/javascript, application/json, application/xml
  291. [replicator]
  292. ; Random jitter applied on replication job startup (milliseconds)
  293. startup_jitter = 5000
  294. ; Number of actively running replications
  295. max_jobs = 500
  296. ;Scheduling interval in milliseconds. During each reschedule cycle
  297. interval = 60000
  298. ; Maximum number of replications to start and stop during rescheduling.
  299. max_churn = 20
  300. ; More worker processes can give higher network throughput but can also
  301. ; imply more disk and network IO.
  302. worker_processes = 4
  303. ; With lower batch sizes checkpoints are done more frequently. Lower batch sizes
  304. ; also reduce the total amount of used RAM memory.
  305. worker_batch_size = 500
  306. ; Maximum number of HTTP connections per replication.
  307. http_connections = 20
  308. ; HTTP connection timeout per replication.
  309. ; Even for very fast/reliable networks it might need to be increased if a remote
  310. ; database is too busy.
  311. connection_timeout = 30000
  312. ; Request timeout
  313. ;request_timeout = infinity
  314. ; If a request fails, the replicator will retry it up to N times.
  315. retries_per_request = 5
  316. ; Use checkpoints
  317. ;use_checkpoints = true
  318. ; Checkpoint interval
  319. ;checkpoint_interval = 30000
  320. ; Some socket options that might boost performance in some scenarios:
  321. ; {nodelay, boolean()}
  322. ; {sndbuf, integer()}
  323. ; {recbuf, integer()}
  324. ; {priority, integer()}
  325. ; See the `inet` Erlang module's man page for the full list of options.
  326. socket_options = [{keepalive, true}, {nodelay, false}]
  327. ; Path to a file containing the user's certificate.
  328. ;cert_file = /full/path/to/server_cert.pem
  329. ; Path to file containing user's private PEM encoded key.
  330. ;key_file = /full/path/to/server_key.pem
  331. ; String containing the user's password. Only used if the private keyfile is password protected.
  332. ;password = somepassword
  333. ; Set to true to validate peer certificates.
  334. verify_ssl_certificates = false
  335. ; File containing a list of peer trusted certificates (in the PEM format).
  336. ;ssl_trusted_certificates_file = /etc/ssl/certs/ca-certificates.crt
  337. ; Maximum peer certificate depth (must be set even if certificate validation is off).
  338. ssl_certificate_max_depth = 3
  339. ; Maximum document ID length for replication.
  340. ;max_document_id_length = 0
  341. ; How much time to wait before retrying after a missing doc exception. This
  342. ; exception happens if the document was seen in the changes feed, but internal
  343. ; replication hasn't caught up yet, and fetching document's revisions
  344. ; fails. This a common scenario when source is updated while continous
  345. ; replication is running. The retry period would depend on how quickly internal
  346. ; replication is expected to catch up. In general this is an optimisation to
  347. ; avoid crashing the whole replication job, which would consume more resources
  348. ; and add log noise.
  349. ;missing_doc_retry_msec = 2000
  350. ; Wait this many seconds after startup before attaching changes listeners
  351. ; cluster_start_period = 5
  352. ; Re-check cluster state at least every cluster_quiet_period seconds
  353. ; cluster_quiet_period = 60
  354. ; List of replicator client authentication plugins to try. Plugins will be
  355. ; tried in order. The first to initialize successfully will be used for that
  356. ; particular endpoint (source or target). Normally couch_replicator_auth_noop
  357. ; would be used at the end of the list as a "catch-all". It doesn't do anything
  358. ; and effectively implements the previous behavior of using basic auth.
  359. ; There are currently two plugins available:
  360. ; couch_replicator_auth_session - use _session cookie authentication
  361. ; couch_replicator_auth_noop - use basic authentication (previous default)
  362. ; Currently, the new _session cookie authentication is tried first, before
  363. ; falling back to the old basic authenticaion default:
  364. ;auth_plugins = couch_replicator_auth_session,couch_replicator_auth_noop
  365. ; To restore the old behaviour, use the following value:
  366. ;auth_plugins = couch_replicator_auth_noop
  367. ; Force couch_replicator_auth_session plugin to refresh the session
  368. ; periodically if max-age is not present in the cookie. This is mostly to
  369. ; handle the case where anonymous writes are allowed to the database and a VDU
  370. ; function is used to forbid writes based on the authenticated user name. In
  371. ; that case this value should be adjusted based on the expected minimum session
  372. ; expiry timeout on replication endpoints. If session expiry results in a 401
  373. ; or 403 response this setting is not needed.
  374. ;session_refresh_interval_sec = 550
  375. [compaction_daemon]
  376. ; The delay, in seconds, between each check for which database and view indexes
  377. ; need to be compacted.
  378. check_interval = 3600
  379. ; If a database or view index file is smaller then this value (in bytes),
  380. ; compaction will not happen. Very small files always have a very high
  381. ; fragmentation therefore it's not worth to compact them.
  382. min_file_size = 131072
  383. ; With lots of databases and/or with lots of design docs in one or more
  384. ; databases, the compaction_daemon can create significant CPU load when
  385. ; checking whether databases and view indexes need compacting. The
  386. ; snooze_period_ms setting ensures a smoother CPU load. Defaults to
  387. ; 3000 milliseconds wait. Note that this option was formerly called
  388. ; snooze_period, measured in seconds (it is currently still supported).
  389. ; snooze_period_ms = 3000
  390. [compactions]
  391. ; List of compaction rules for the compaction daemon.
  392. ; The daemon compacts databases and their respective view groups when all the
  393. ; condition parameters are satisfied. Configuration can be per database or
  394. ; global, and it has the following format:
  395. ;
  396. ; database_name = [ {ParamName, ParamValue}, {ParamName, ParamValue}, ... ]
  397. ; _default = [ {ParamName, ParamValue}, {ParamName, ParamValue}, ... ]
  398. ;
  399. ; Possible parameters:
  400. ;
  401. ; * db_fragmentation - If the ratio (as an integer percentage), of the amount
  402. ; of old data (and its supporting metadata) over the database
  403. ; file size is equal to or greater then this value, this
  404. ; database compaction condition is satisfied.
  405. ; This value is computed as:
  406. ;
  407. ; (file_size - data_size) / file_size * 100
  408. ;
  409. ; The data_size and file_size values can be obtained when
  410. ; querying a database's information URI (GET /dbname/).
  411. ;
  412. ; * view_fragmentation - If the ratio (as an integer percentage), of the amount
  413. ; of old data (and its supporting metadata) over the view
  414. ; index (view group) file size is equal to or greater then
  415. ; this value, then this view index compaction condition is
  416. ; satisfied. This value is computed as:
  417. ;
  418. ; (file_size - data_size) / file_size * 100
  419. ;
  420. ; The data_size and file_size values can be obtained when
  421. ; querying a view group's information URI
  422. ; (GET /dbname/_design/groupname/_info).
  423. ;
  424. ; * from _and_ to - The period for which a database (and its view groups) compaction
  425. ; is allowed. The value for these parameters must obey the format:
  426. ;
  427. ; HH:MM - HH:MM (HH in [0..23], MM in [0..59])
  428. ;
  429. ; * strict_window - If a compaction is still running after the end of the allowed
  430. ; period, it will be canceled if this parameter is set to 'true'.
  431. ; It defaults to 'false' and it's meaningful only if the *period*
  432. ; parameter is also specified.
  433. ;
  434. ; * parallel_view_compaction - If set to 'true', the database and its views are
  435. ; compacted in parallel. This is only useful on
  436. ; certain setups, like for example when the database
  437. ; and view index directories point to different
  438. ; disks. It defaults to 'false'.
  439. ;
  440. ; Before a compaction is triggered, an estimation of how much free disk space is
  441. ; needed is computed. This estimation corresponds to 2 times the data size of
  442. ; the database or view index. When there's not enough free disk space to compact
  443. ; a particular database or view index, a warning message is logged.
  444. ;
  445. ; Examples:
  446. ;
  447. ; 1) [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}]
  448. ; The `foo` database is compacted if its fragmentation is 70% or more.
  449. ; Any view index of this database is compacted only if its fragmentation
  450. ; is 60% or more.
  451. ;
  452. ; 2) [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "00:00"}, {to, "04:00"}]
  453. ; Similar to the preceding example but a compaction (database or view index)
  454. ; is only triggered if the current time is between midnight and 4 AM.
  455. ;
  456. ; 3) [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "00:00"}, {to, "04:00"}, {strict_window, true}]
  457. ; Similar to the preceding example - a compaction (database or view index)
  458. ; is only triggered if the current time is between midnight and 4 AM. If at
  459. ; 4 AM the database or one of its views is still compacting, the compaction
  460. ; process will be canceled.
  461. ;
  462. ; 4) [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "00:00"}, {to, "04:00"}, {strict_window, true}, {parallel_view_compaction, true}]
  463. ; Similar to the preceding example, but a database and its views can be
  464. ; compacted in parallel.
  465. ;
  466. _default = [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}]
  467. [log]
  468. ; Possible log levels:
  469. ; debug
  470. ; info
  471. ; notice
  472. ; warning, warn
  473. ; error, err
  474. ; critical, crit
  475. ; alert
  476. ; emergency, emerg
  477. ; none
  478. ;
  479. level = info
  480. ;
  481. ; Set the maximum log message length in bytes that will be
  482. ; passed through the writer
  483. ;
  484. ; max_message_size = 16000
  485. ;
  486. ;
  487. ; There are three different log writers that can be configured
  488. ; to write log messages. The default writes to stderr of the
  489. ; Erlang VM which is useful for debugging/development as well
  490. ; as a lot of container deployments.
  491. ;
  492. ; There's also a file writer that works with logrotate and an
  493. ; rsyslog writer for deployments that need to have logs sent
  494. ; over the network.
  495. ;
  496. writer = stderr
  497. ;
  498. ; File Writer Options:
  499. ;
  500. ; The file writer will check every 30s to see if it needs
  501. ; to reopen its file. This is useful for people that configure
  502. ; logrotate to move log files periodically.
  503. ;
  504. ; file = ./couch.log ; Path name to write logs to
  505. ;
  506. ; Write operations will happen either every write_buffer bytes
  507. ; or write_delay milliseconds. These are passed directly to the
  508. ; Erlang file module with the write_delay option documented here:
  509. ;
  510. ; http://erlang.org/doc/man/file.html
  511. ;
  512. ; write_buffer = 0
  513. ; write_delay = 0
  514. ;
  515. ;
  516. ; Syslog Writer Options:
  517. ;
  518. ; The syslog writer options all correspond to their obvious
  519. ; counter parts in rsyslog nomenclature.
  520. ;
  521. ; syslog_host =
  522. ; syslog_port = 514
  523. ; syslog_appid = couchdb
  524. ; syslog_facility = local2
  525. [stats]
  526. ; Stats collection interval in seconds. Default 10 seconds.
  527. ;interval = 10