Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"--minloglevel" not honoured #4827

Closed
doublex opened this issue Nov 5, 2022 · 2 comments
Closed

"--minloglevel" not honoured #4827

doublex opened this issue Nov 5, 2022 · 2 comments
Assignees
Labels
severity/trivial Severity of bug type/bug/functionality Bugs preventing the database to deliver a promised function. type/bug Type: something is unexpected
Milestone

Comments

@doublex
Copy link

doublex commented Nov 5, 2022

NebulaGraph 3.2 + 3.3 on CentOS 7

Not a big issue - only a little flaw.
Logfiles become huge - even if --minloglevel=1.
The lines are:

I20221105 11:07:03.802295 17980 GraphService.cpp:76] Authenticating user harmony from [::ffff:1.2.3.4]:35832
I20221105 11:07:03.802947 17980 SwitchSpaceExecutor.cpp:37] Graph switched to `harmony', space id: 1

But the INFO level gets muted using:

curl -X PUT -H "Content-Type: application/json" -d '{"minloglevel":1}' "127.0.0.1:19669/flags"
curl -X PUT -H "Content-Type: application/json" -d '{"minloglevel":1}' "127.0.0.1:19779/flags"

Config:

grep '^--minloglevel=' *.conf
nebula-graphd.conf:--minloglevel=1
nebula-metad.conf:--minloglevel=1
nebula-storaged.conf:--minloglevel=1
grep '^--v=' *.conf
nebula-graphd.conf:--v=0
nebula-metad.conf:--v=0
nebula-storaged.conf:--v=0
@doublex doublex added the type/bug Type: something is unexpected label Nov 5, 2022
@Sophie-Xie Sophie-Xie added this to the v3.4.0 milestone Nov 7, 2022
@xtcyclist xtcyclist added the type/bug/functionality Bugs preventing the database to deliver a promised function. label Nov 9, 2022
@jinyingsunny jinyingsunny added the severity/trivial Severity of bug label Nov 10, 2022
@critical27
Copy link
Contributor

critical27 commented Nov 15, 2022

If your minloglevel=1, there should be no more INFO log. You mean there are still logs?
Have you set local_config in your conf?

@Sophie-Xie Sophie-Xie assigned critical27 and unassigned caton-hpg Nov 15, 2022
@doublex
Copy link
Author

doublex commented Nov 15, 2022

@critical27
Sorry for the inconvenience.

My fault: local_config was the problem.
Thanks for your answer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/trivial Severity of bug type/bug/functionality Bugs preventing the database to deliver a promised function. type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

6 participants