Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Truncate logs or reduce verbosity in production #702

Open
jonathan-j-lee opened this issue Sep 10, 2019 · 0 comments
Open

Truncate logs or reduce verbosity in production #702

jonathan-j-lee opened this issue Sep 10, 2019 · 0 comments
Labels

Comments

@jonathan-j-lee
Copy link
Member

Logs can grow without bound.

$ du -a -h .
290M	./ansible.log
56K	./fieldControl.log
24M	./dawn.log
8.0K	./lcm.log
8.0K	./robotCode.py
314M	.

Apparently a log record is emitted for every UDP packet (multiple times a second).

[Wed Sep 06 2017 20:55:31 GMT-0700 (PDT) DEBUG] Dawn received UDP with state 2
[Wed Sep 06 2017 20:55:31 GMT-0700 (PDT) DEBUG] [object Object],[object Object]
[Wed Sep 06 2017 20:55:31 GMT-0700 (PDT) DEBUG] Dawn sent UDP to 192.168.0.241*
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] Dawn received UDP with state 2
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] [object Object],[object Object]
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] Dawn sent UDP to 192.168.0.241*
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] Dawn received UDP with state 2
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] [object Object],[object Object]
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] Dawn sent UDP to 192.168.0.241*
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] Dawn received UDP with state 2
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] [object Object],[object Object]
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] Dawn sent UDP to 192.168.0.241*
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] Dawn received UDP with state 2
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] [object Object],[object Object]
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] Dawn sent UDP to 192.168.0.241
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] Dawn received UDP with state 2
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] [object Object],[object Object]
[Wed Sep 06 2017 20:55:32 GMT-0700 (PDT) DEBUG] Dawn sent UDP to 192.168.0.241*
[Wed Sep 06 2017 20:55:33 GMT-0700 (PDT) DEBUG] Dawn received UDP with state 2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant