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

Excessive logging to disk #16

Closed
sidewinder12s opened this issue May 1, 2024 · 2 comments
Closed

Excessive logging to disk #16

sidewinder12s opened this issue May 1, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@sidewinder12s
Copy link

It appears by default nidhogg (or at least the uswitch version, we haven't had time to migrate to this new repo) is logging everything to disk instead of stdout and/or provides no way to disable that behavior.

This ends up side tracking our normal log rotation behavior for containers.

/ # cd /tmp
/tmp # ls
cert                                                                     manager.WARNING                                                          manager.nidhogg-controller-manager-0.root.log.WARNING.20240430-184209.1
manager.ERROR                                                            manager.nidhogg-controller-manager-0.root.log.ERROR.20240430-184209.1
manager.INFO                                                             manager.nidhogg-controller-manager-0.root.log.INFO.20240418-214040.1
/tmp # ls -lia
total 635272
82838530 drwxrwxrwt    1 root     root          4096 Apr 30 18:42 .
4196207 drwxr-xr-x    1 root     root            65 Apr 18 21:40 ..
      1 drwxrwxrwt    3 root     root            80 Apr 18 21:40 cert
11546855 lrwxrwxrwx    1 root     root            69 Apr 30 18:42 manager.ERROR -> manager.nidhogg-controller-manager-0.root.log.ERROR.20240430-184209.1
11535330 lrwxrwxrwx    1 root     root            68 Apr 18 21:40 manager.INFO -> manager.nidhogg-controller-manager-0.root.log.INFO.20240418-214040.1
11546867 lrwxrwxrwx    1 root     root            71 Apr 30 18:42 manager.WARNING -> manager.nidhogg-controller-manager-0.root.log.WARNING.20240430-184209.1
11537502 -rw-r--r--    1 root     root     216832248 May  1 17:21 manager.nidhogg-controller-manager-0.root.log.ERROR.20240430-184209.1
11535329 -rw-r--r--    1 root     root     216832485 May  1 17:21 manager.nidhogg-controller-manager-0.root.log.INFO.20240418-214040.1
11546866 -rw-r--r--    1 root     root     216832248 May  1 17:21 manager.nidhogg-controller-manager-0.root.log.WARNING.20240430-184209.1
@josmo josmo added the enhancement New feature or request label Jul 20, 2024
@scoquelin
Copy link
Contributor

@sidewinder12s did you get a chance to test/reproduce using this repo ? As far as I can tell I didn't see logs written to disk anymore... but happy to look into it if needed!

@chomatdam
Copy link
Contributor

issue stale / can't reproduce, feel free to chime in @sidewinder12s with more details if still happening

@chomatdam chomatdam closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants