Since DEBUG creates a lot of feedback, consuming 'log files' space [?10MB limit];
create a system-wide variable that can turn on & off a DEBUG flag for logging utils to use
Initial Implementation Requirements
these are what I could find , but couldn't determine how/where ~/.config/neon/neon.yaml fit into the picture:
(venv) neon@neon:~/venv/lib/python3.10/site-packages/neon_utils$ ls log*.py
log_utils.py logger.py
Other Considerations
? having to check the flag for each entry into the file could slow it down, overflow a buffer/cache ??
every 10 secs in the skill log, bus log was 9+MB !!! {logs are archived in my BUG issue}
This is read from configuration currently (user values set in ~/.config/neon/neon.yaml by default). The configuration options are noted in ovos-utils which is where the LOG class is implemented
Objective
Since DEBUG creates a lot of feedback, consuming 'log files' space [?10MB limit]; create a system-wide variable that can turn on & off a DEBUG flag for logging utils to use
Initial Implementation Requirements
these are what I could find , but couldn't determine how/where ~/.config/neon/neon.yaml fit into the picture:
Other Considerations
? having to check the flag for each entry into the file could slow it down, overflow a buffer/cache ?? every 10 secs in the skill log, bus log was 9+MB !!! {logs are archived in my BUG issue}