Dear mreiche,
Thank you very much for your reply.
I also appreciate you pointing me to the relevant part of the document.
I would like to confirm just to be sure, but the document you provided is about the settings for the files output under
<couchbase-install-dir>/var/lib/couchbase/logs.
What I want to know this time is the setting for
<couchbase-install-dir>/var/lib/couchbase/data/<bucket-name>/access.log.<number>.
※This path was missing from the first post. I apologize for the confusion.
That is because I understand that if “static_config” is not changed, the setting for “disk_sink_opts” is reflected, but the number of “num_files” does not match for “access.log” that I asked about.
Also, the timestamp behavior is different as shown below, so I suspect it is different from the setting you provided.
$ cd <couchbase-install-dir>/var/lib/couchbase/logs
$ ls -l
・
・
・
-rw-rw---- 1 couchbase couchbase 14642573 May 31 11:39 stats.log
-rw-rw---- 1 couchbase couchbase 6615779 May 31 06:18 stats.log.1.gz
-rw-rw---- 1 couchbase couchbase 6614926 May 30 14:55 stats.log.2.gz
-rw-rw---- 1 couchbase couchbase 6634323 May 29 23:34 stats.log.3.gz
-rw-rw---- 1 couchbase couchbase 6610991 May 29 08:11 stats.log.4.gz
-rw-rw---- 1 couchbase couchbase 6619879 May 28 16:50 stats.log.5.gz
-rw-rw---- 1 couchbase couchbase 6636353 May 28 01:28 stats.log.6.gz
-rw-rw---- 1 couchbase couchbase 6606611 May 27 10:05 stats.log.7.gz
-rw-rw---- 1 couchbase couchbase 6601604 May 26 18:42 stats.log.8.gz
-rw-rw---- 1 couchbase couchbase 6606600 May 26 03:19 stats.log.9.gz
・
・
・
$ cd <couchbase-install-dir>/var/lib/couchbase/data/<bucket-name>
$ ls -l
・
・
・
-rw-rw---- 1 couchbase couchbase 39968768 May 31 11:00 access.log.0
-rw-rw---- 1 couchbase couchbase 39948288 May 30 11:01 access.log.0.old
-rw-rw---- 1 couchbase couchbase 39223296 May 31 11:00 access.log.1
-rw-rw---- 1 couchbase couchbase 39206912 May 30 11:01 access.log.1.old
-rw-rw---- 1 couchbase couchbase 40779776 May 31 11:00 access.log.2
-rw-rw---- 1 couchbase couchbase 40759296 May 30 11:01 access.log.2.old
-rw-rw---- 1 couchbase couchbase 39161856 May 31 11:00 access.log.3
-rw-rw---- 1 couchbase couchbase 39145472 May 30 11:01 access.log.3.old
-rw-rw---- 1 couchbase couchbase 41549824 May 31 11:00 access.log.4
-rw-rw---- 1 couchbase couchbase 41533440 May 30 11:01 access.log.4.old
-rw-rw---- 1 couchbase couchbase 40882176 May 31 11:00 access.log.5
-rw-rw---- 1 couchbase couchbase 40865792 May 30 11:01 access.log.5.old
-rw-rw---- 1 couchbase couchbase 39137280 May 31 11:00 access.log.6
-rw-rw---- 1 couchbase couchbase 39116800 May 30 11:01 access.log.6.old
-rw-rw---- 1 couchbase couchbase 39985152 May 31 11:00 access.log.7
-rw-rw---- 1 couchbase couchbase 39964672 May 30 11:01 access.log.7.old
・
・
・
We apologize for the inconvenience, but please check.
Kind Regards,
Since it may not be conveyed by machine translation, I will also post the original text.
—Start
mreiche様
ご返信頂き、誠にありがとうございます。
また、ドキュメントの該当箇所を教えて頂き感謝致します。
念の為確認させて頂きたいのですが、ご教示頂いたドキュメントは
<couchbase-install-dir>/var/lib/couchbase/logs
以下に出力されるファイルの設定ではないでしょうか。
私が今回知りたいのは
<couchbase-install-dir>/var/lib/couchbase/data/<bucket-name>/access.log.<number>
の設定になります。
※最初に記載した書き込みで、こちらのパスが欠けておりました。混乱を招き申し訳ございません。
といいますのも、"static_config"を変更していない場合"disk_sink_opts"の設定が反映されると認識しているのですが、私が質問した"access.log"については"num_files"の数が合いません。
また、下記のようにタイムスタンプの動きも違う為、ご案内頂いた設定とは別なのではないかと推察しております。
$ cd <couchbase-install-dir>/var/lib/couchbase/logs
$ ls -l
・
・
・
-rw-rw---- 1 couchbase couchbase 14642573 5月 31 11:39 stats.log
-rw-rw---- 1 couchbase couchbase 6615779 5月 31 06:18 stats.log.1.gz
-rw-rw---- 1 couchbase couchbase 6614926 5月 30 14:55 stats.log.2.gz
-rw-rw---- 1 couchbase couchbase 6634323 5月 29 23:34 stats.log.3.gz
-rw-rw---- 1 couchbase couchbase 6610991 5月 29 08:11 stats.log.4.gz
-rw-rw---- 1 couchbase couchbase 6619879 5月 28 16:50 stats.log.5.gz
-rw-rw---- 1 couchbase couchbase 6636353 5月 28 01:28 stats.log.6.gz
-rw-rw---- 1 couchbase couchbase 6606611 5月 27 10:05 stats.log.7.gz
-rw-rw---- 1 couchbase couchbase 6601604 5月 26 18:42 stats.log.8.gz
-rw-rw---- 1 couchbase couchbase 6606600 5月 26 03:19 stats.log.9.gz
・
・
・
$ cd <couchbase-install-dir>/var/lib/couchbase/data/<bucket-name>
$ ls -l
・
・
・
-rw-rw---- 1 couchbase couchbase 39968768 5月 31 11:00 access.log.0
-rw-rw---- 1 couchbase couchbase 39948288 5月 30 11:01 access.log.0.old
-rw-rw---- 1 couchbase couchbase 39223296 5月 31 11:00 access.log.1
-rw-rw---- 1 couchbase couchbase 39206912 5月 30 11:01 access.log.1.old
-rw-rw---- 1 couchbase couchbase 40779776 5月 31 11:00 access.log.2
-rw-rw---- 1 couchbase couchbase 40759296 5月 30 11:01 access.log.2.old
-rw-rw---- 1 couchbase couchbase 39161856 5月 31 11:00 access.log.3
-rw-rw---- 1 couchbase couchbase 39145472 5月 30 11:01 access.log.3.old
-rw-rw---- 1 couchbase couchbase 41549824 5月 31 11:00 access.log.4
-rw-rw---- 1 couchbase couchbase 41533440 5月 30 11:01 access.log.4.old
-rw-rw---- 1 couchbase couchbase 40882176 5月 31 11:00 access.log.5
-rw-rw---- 1 couchbase couchbase 40865792 5月 30 11:01 access.log.5.old
-rw-rw---- 1 couchbase couchbase 39137280 5月 31 11:00 access.log.6
-rw-rw---- 1 couchbase couchbase 39116800 5月 30 11:01 access.log.6.old
-rw-rw---- 1 couchbase couchbase 39985152 5月 31 11:00 access.log.7
-rw-rw---- 1 couchbase couchbase 39964672 5月 30 11:01 access.log.7.old
・
・
・
大変お手数ですが、ご確認の程よろしくお願い致します。
—End