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

feat: add runtime modification of log level #439

Merged
merged 10 commits into from
Oct 11, 2023

Conversation

kade-ddnkv
Copy link
Collaborator

No description provided.

@kade-ddnkv kade-ddnkv requested a review from pirog-spb October 8, 2023 17:56
cmd/core/display_utils.go Outdated Show resolved Hide resolved
cmd/core/api.go Outdated Show resolved Hide resolved
@kade-ddnkv kade-ddnkv changed the base branch from 393-add-log-levels-support-in-eupf to main October 9, 2023 23:37
@kade-ddnkv kade-ddnkv changed the base branch from main to 393-add-log-levels-support-in-eupf October 9, 2023 23:42
@kade-ddnkv kade-ddnkv force-pushed the 437-add-runtime-modification-of-log-level branch from 59fbb3d to d7c6dbb Compare October 10, 2023 00:16
@kade-ddnkv kade-ddnkv changed the base branch from 393-add-log-levels-support-in-eupf to main October 10, 2023 00:17
@kade-ddnkv kade-ddnkv changed the base branch from main to 393-add-log-levels-support-in-eupf October 10, 2023 00:22
@kade-ddnkv
Copy link
Collaborator Author

There is a small issue: when config.yml is edited, function OnConfigChange in main.go is called two times.

Seems that this problem is related to OS, which is firing an event multiple times. For instance, using touch -m config.yml from console fires only one event.

@kade-ddnkv kade-ddnkv force-pushed the 437-add-runtime-modification-of-log-level branch from d7c6dbb to 5f2a053 Compare October 10, 2023 10:47
@kade-ddnkv kade-ddnkv changed the base branch from 393-add-log-levels-support-in-eupf to main October 10, 2023 10:47
cmd/core/api.go Outdated Show resolved Hide resolved
@pirog-spb pirog-spb merged commit 763743d into main Oct 11, 2023
@kade-ddnkv kade-ddnkv linked an issue Oct 11, 2023 that may be closed by this pull request
3 tasks
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.

Add runtime modification of log level
2 participants