Skip to content

feat: add runtime modification of log level - #439

Merged
pirog-spb merged 10 commits into
mainfrom
437-add-runtime-modification-of-log-level
Oct 11, 2023
Merged

feat: add runtime modification of log level#439
pirog-spb merged 10 commits into
mainfrom
437-add-runtime-modification-of-log-level

Conversation

@kade-ddnkv

Copy link
Copy Markdown
Collaborator

No description provided.

@kade-ddnkv
kade-ddnkv requested a review from pirog-spb October 8, 2023 17:56
Comment thread cmd/core/display_utils.go Outdated
Comment thread cmd/core/api.go Outdated
@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
Copy Markdown
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
Comment thread cmd/core/api.go Outdated
@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