Skip to content

Conversation

@ggray-cb
Copy link
Contributor

@ggray-cb ggray-cb commented Dec 3, 2025

This PR addresses multiple issues in the Manage Logging page:

Also fixed some errors that weren't flagged by bugs:

  • The description of how the proxy field works is wrong. Clarified what the user needs to enter in this field.
  • Added a few more log files to the list of log files. Also added a note that some additional files may appear in the log directory that are generated by internal debug options.
  • Updated screenshots and removed a bunch that were superfluous and only added to maintenance overhead.

Preview URL:
https://preview.docs-test.couchbase.com/docs-server-DOC-13610-Fix-documentation-regarding-default-logging-level-in-Couchbase-Server/server/current/manage/manage-logging/manage-logging.html

You will need the Docs Team credentials on Confluence.

NOTE: given the amount of editing in this page, your best bet is to review the preview page instead of trying to make sense of the git diff.

* Heavy edits to bring writing up to standards.
* Lots of re-architecting of content to make it flow more reasonably.
* Corrected numerous errors.
* Implemented some feedback from questions about what we should actually say about changing logging levels/log file location.
Copy link
Contributor

@hyunjuV hyunjuV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.
Comprehensive and detailed.
(Noted a typo -- same one in 2 places.)


If neither of these options meet your needs, you can change the log location by following these steps:

. Log into a node as the as `root` or the user who owns the Couchbase Server files.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo - remove "as the":
. Log into a node as the as root or the user who owns the Couchbase Server files.
Instead:
. Log into a node as root or the user who owns the Couchbase Server files.


[#redacting-log-files-outside-the-cluster]
== Redacting Log Files Outside the Cluster
. Log into a node as the as `root` or the user who owns the Couchbase Server files.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same Typo - remove "as the":
. Log into a node as the as root or the user who owns the Couchbase Server files.
Instead:
. Log into a node as root or the user who owns the Couchbase Server files.

Copy link

@anuthan anuthan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from me too.

Also, the Couchbase Server upgrade process can overwrite the `static_config` file, losing any of your modifications.

The Couchbase Server upgrade process can overwrite the `static_config` file, losing any of your modifications.
If you change the log location, you may need to reapply your changes after an upgrade.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this text.



[#changing-log-file-locations]
=== Changing Log File Locations
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Gary, this looks good.

ggray-cb and others added 18 commits December 10, 2025 13:50
…roved by stakeholders.

* Also fixed a typo.

* Changed "most" to "some" when discussing which logs files use the sensitive data tags. Not sure how many do and how many do not.

* Few other minor grammar fixups
* DOC-12634 Fixed prunage units from minutes to seconds

* further updates on units and min/max/defaults

* updated manage page
* DOC-12197 Added non-encoded example

* Apply suggestions from code review

Co-authored-by: rao-shwe <shwetha.rao@couchbase.com>

---------

Co-authored-by: rao-shwe <shwetha.rao@couchbase.com>
…-Statistics (#3978)

* Updated rest-statistics-multiple.adoc

https://jira.issues.couchbase.com/browse/DOC-13126

Updated "=" | "!=" | "=~" | "~=" / “=, !=, =~, or ~="

to  =, !=, =~, !~, any, or not_any.

* Updated rest-statistics-multiple.adoc

added a period at the end of line 65
Add alias for deleted N1QL Application Continuity page
* [DOC-12324]: Configure Client Certificates page | Java Client Access:…

* [DOC-12324]: Configure Client Certificates page | Java Client Access:…
* [DOC-12554]: Document how to check if a cluster has buckets with flus…

* [DOC-12554]: Document how to check if a cluster has buckets with flus…
…3997)

* [DOC-13654]: Update Release Notes Documentation page with MB-62678

Updated release notes for Couchbase Server 8.0.0: documented fix for invalid tombstones caused by TTL during deletions ([MB-62678]).
@ggray-cb ggray-cb requested review from a team and Copilot December 10, 2025 19:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Contributor

@rao-shwe rao-shwe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor edits for double spaces and double hyphens.
The rest LGTM! 👍


This brings up the *Collect Information* screen:
| `analytics_dcpdebug`
| DCP-specific debugging Information about the Analytics Service.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| DCP-specific debugging Information about the Analytics Service.
| DCP-specific debugging information about the Analytics Service.

[#collect_info]
image::manage-logging/collectInfo.png[,248,align=left]
| `analytics_cbas_debug`
| Debugging Information about the Analytics Service.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Debugging Information about the Analytics Service.
| Debugging information about the Analytics Service.

image::manage-logging/getClusterSummaryLink.png[,260,align=left]
| `prometheus`
| Log for the instance of https://prometheus.io[Prometheus^] that runs on the current node, supporting the gathering and management of Couchbase Server metrics.
See the xref:metrics-reference:metrics-reference.adoc[Metrics Reference] for more Information about metrics.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
See the xref:metrics-reference:metrics-reference.adoc[Metrics Reference] for more Information about metrics.
See the xref:metrics-reference:metrics-reference.adoc[Metrics Reference] for more information about metrics.


[#partial_redaction_selection]
image::manage-logging/partialRedactionSelection.png[,682,align=left]
NOTE: Couchbase Server upgrades can overwrite `static_config`, losing any of your modifications.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
NOTE: Couchbase Server upgrades can overwrite `static_config`, losing any of your modifications.
NOTE: Couchbase Server upgrades can overwrite `static_config`, losing any of your modifications.


| `debug`
| Debug-level troubleshooting for the Cluster Manager.
NOTE: Couchbase Server upgrades can overwrite `static_config`, losing any modifications you have made.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
NOTE: Couchbase Server upgrades can overwrite `static_config`, losing any modifications you have made.
NOTE: Couchbase Server upgrades can overwrite `static_config`, losing any modifications you have made.

| `analytics_access`
| Information on access attempts made to the REST/HTTP port of the Analytics Service.
. Choose whether you want to upload the collected logs to Couchbase Support.
See <<uploading_log_files>> for more information about uploading log files to Couchbase Support.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
See <<uploading_log_files>> for more information about uploading log files to Couchbase Support.
See <<uploading_log_files>> for more information about uploading log files to Couchbase Support.


During the collection process, Couchbase Server scans the log files for private data.
In some log files, it marks sensitive data with the tags `<ud>` and `</ud>`.
When you select the *Partial Redaction* option on the *Collect Information* tab or use the `--log-redaction-level=partial` argument with the `cbcollect_info` command, Couchbase Server redacts the marked data in the collected log files.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
When you select the *Partial Redaction* option on the *Collect Information* tab or use the `--log-redaction-level=partial` argument with the `cbcollect_info` command, Couchbase Server redacts the marked data in the collected log files.
When you select the *Partial Redaction* option on the *Collect Information* tab or use the `--log-redaction-level=partial` argument with the `cbcollect_info` command, Couchbase Server redacts the marked data in the collected log files.


When redacting, Couchbase Server replaces the content of the `<ud>` and `</ud>` tags with a SHA-1 hashed version of the data.

For example, the following fragment from the `debug.log` displays two pieces of private data--a Couchbase username and a document ID:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For example, the following fragment from the `debug.log` displays two pieces of private data--a Couchbase username and a document ID:
For example, the following fragment from the `debug.log` displays two pieces of private data, a Couchbase username and a document ID:


To change the location, proceed as follows:
For example, the `http_access.log` (stored in the zip with the filename `ns_server.http_access.log`) contains HTTP requests that include the username making a request as well as sensitive data in URL parameters.
The following log file fragment displays private data--the Administrator's username and the username of a user account that the Administrator is creating:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The following log file fragment displays private data--the Administrator's username and the username of a user account that the Administrator is creating:
The following log file fragment displays private data, the Administrator's username and the username of a user account that the Administrator is creating:

(Assuming you installed Couchbase Server in the default location.)
|===

You can also view a summary of log events in Couchbase Server Web Console by clicking *Logs*.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You can also view a summary of log events in Couchbase Server Web Console by clicking *Logs*.
You can also view a summary of log events in Couchbase Server Web Console by clicking *Logs*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.