Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Can't change log format #233

Open
wufengzlw opened this issue Dec 3, 2021 · 0 comments
Open

Can't change log format #233

wufengzlw opened this issue Dec 3, 2021 · 0 comments

Comments

@wufengzlw
Copy link

wufengzlw commented Dec 3, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant