neo4j-helm icon indicating copy to clipboard operation
neo4j-helm copied to clipboard

Can't change log format

Open wufengzlw opened this issue 2 years ago • 0 comments

Hi,

I met this log format issue, can't change log format because can't pass config in values.yaml into neo4j.conf

Describe the bug Deployed Neo4j 4.3.6 with helm only with this dbms related config in values.yaml:

dbms:
    memory:
        pagecache:
            size: 512m

it's working, I can get this config from neo4j.conf:

$ k exec neo4j-neo4j-replica-0 -n neo4j -- cat conf/neo4j.conf | grep dbms.memory.page
#dbms.memory.pagecache.size=10g
dbms.memory.pagecache.size=512m

When I tried to modify log format to json by adding this to values.yaml in two ways:

dbms:
    memory:
        pagecache:
            size: 512m
    logs:
        default_format: json

or

  set {
    name  = "dbms.logs.default_format"
    value = "json"
  }

(I deployed neo4j helm with Terraform, this is from:)

resource "helm_release" "neo4j" {
  name       = "neo4j"
  repository = "https://neo4j-contrib.github.io/neo4j-helm/"
  chart      = "neo4j"
  version    = "4.3.6"

I can't find this config in neo4j.conf (even after restart the sts): k rollout restart sts neo4j-neo4j-replica -n neo4j

To Reproduce Steps to reproduce the behavior:

  1. Install with these values
  2. Go to ....

Expected behavior the log related config can be passed to neo4j.conf

Error Logs If applicable, add the contents of your debug.log file no error log

Additional context Add any other context about the problem here.

wufengzlw avatar Dec 03 '21 18:12 wufengzlw