Log level configuration doesn't work as expected

In the
/opt/couchbase/etc/coucbhase/static_config file I have the following configuration

{loglevel_default, error}.
{loglevel_couchdb, error}.
{loglevel_ns_server, error}.
{loglevel_error_logger, error}.
{loglevel_user, error}.
{loglevel_menelaus, error}.
{loglevel_ns_doctor, error}.
{loglevel_stats, error}.
{loglevel_rebalance, error}.
{loglevel_cluster, error}.
{loglevel_views, error}.
{loglevel_mapreduce_errors, error}.
{loglevel_xdcr, error}.
{loglevel_xdcr_trace, error}.
{loglevel_access, error}.

but, for some reason couchbase creates all the logs with the [info] or at least lower than error

for example here are some logs from different files

/var/log/couchbase/http_access_internal.log

@cbq-engine-cbauth [26/Jul/2019:09:41:10 +0000] “GET /pools/default/buckets/development-bucket/ddocs HTTP/1.1” 200 11 - Go-http-client/1.1

/var/log/couchbase/memcached.log.000015.txt

2019-07-26T09:41:01.896714+00:00 INFO 4: Client 159.69.152.34:54518 authenticated as development-api

/var/log/couchbase/indexer.log

2019-07-26T09:43:44.218+00:00 [Info] janitor: running cleanup.

/var/log/couchbase/http_access.log

Administrator [26/Jul/2019:09:45:55 +0000] “GET /pools/default/buckets/development-internal HTTP/1.1” 200 7438 - couchbase-goxdcr/5.5.2

/var/log/couchbase/projector.log

2019-07-26T09:46:26.671+00:00 [Info] DCPT[secidx:proj-development-internal-MAINT_STREAM_TOPIC_da8d7aafe92e3680fd0a9477616f335b-925153045759382714/0] dcp stats bytes: 88724678194 buffacks: 21126 toAckBytes: 1103326 streamreqs: 256 snapshots: 2496 mutations: 199919286 streamends: 0 closestreams: 0

/var/log/couchbase/query.log

2019-07-26T09:46:59.785+00:00 [Info] [Queryport-connpool:development:9101] active conns 0, free conns 10

Either the {loglevel_default, error}. doesn;t apply to all the unspecified logs or there is a bug.

How should I config all the logs to log level error?

@flaviu Please check https://docs.couchbase.com/server/5.5/clustersetup/ui-logs.html#manage-logs … you might be missing the step where you have to restart Couchbase Server for the changes to take effect.

Note however, that changes to the Couchbase Server log level is not recommended or supported, as stated in the documentation:

You can change the default log file location, and change the default log levels. Note, however, that you are advised to make no such changes; and that only the default location and levels are supported by Couchbase.

Although this is especially true when interacting with Couchbase Support and even though you might not have enterprise entitlement with Couchbase Support, this might hinder your ability to debug issues, whether internally, using this forum, or otherwise.

I am 99,99% sure that I restarted the server, but I will try to do that

Please test this on a test cluster.