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

Update logging config handling and default configurations #706

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 15 additions & 14 deletions neon_core/configuration/mark_2/neon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,20 +148,21 @@ server:

# Logging Config
log_dir: /home/neon/logs/
log_level: INFO
logs:
path: /home/neon/.local/state/neon/
# 2M max size per log file to keep within the 10M log limit
max_bytes: 1048576
backup_count: 1
diagnostic: False
level_overrides:
error: []
warning:
- filelock
- botocore
info: []
debug: []
logging:
log_level: INFO
logs:
path: /home/neon/.local/state/neon/
# 2M max size per log file to keep within the 10M log limit
max_bytes: 1048576
backup_count: 1
diagnostic: False
bus:
log_level: INFO
path: /home/neon/.local/state/neon/
# 2M max size per log file to keep within the 10M log limit
max_bytes: 1048576
backup_count: 1
diagnostic: False
debug: False
system_unit: imperial
system:
Expand Down
13 changes: 7 additions & 6 deletions neon_core/configuration/neon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,13 @@ signal:
max_wait_seconds: 300

# Logging Config
log_level: INFO
logs:
path:
max_bytes: 50000000
backup_count: 3
diagnostic: False
logging:
log_level: INFO
logs:
path:
max_bytes: 50000000
backup_count: 3
diagnostic: False
level_overrides:
error: []
warning:
Expand Down
28 changes: 15 additions & 13 deletions neon_core/configuration/opi5/neon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,19 +130,21 @@ server:

# Logging Config
log_dir: /home/neon/logs/
log_level: INFO
logs:
path: /home/neon/.local/state/neon/
max_bytes: 50000000
backup_count: 3
diagnostic: False
level_overrides:
error: []
warning:
- filelock
- botocore
info: []
debug: []
logging:
log_level: INFO
logs:
path: /home/neon/.local/state/neon/
# 2M max size per log file to keep within the 10M log limit
max_bytes: 1048576
backup_count: 1
diagnostic: False
bus:
log_level: INFO
path: /home/neon/.local/state/neon/
# 2M max size per log file to keep within the 10M log limit
max_bytes: 1048576
backup_count: 1
diagnostic: False
debug: False
system_unit: imperial
system:
Expand Down
28 changes: 15 additions & 13 deletions neon_core/configuration/rpi4/neon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,21 @@ server:

# Logging Config
log_dir: /home/neon/logs/
log_level: INFO
logs:
path: /home/neon/.local/state/neon/
max_bytes: 50000000
backup_count: 3
diagnostic: False
level_overrides:
error: []
warning:
- filelock
- botocore
info: []
debug: []
logging:
log_level: INFO
logs:
path: /home/neon/.local/state/neon/
# 2M max size per log file to keep within the 10M log limit
max_bytes: 1048576
backup_count: 1
diagnostic: False
bus:
log_level: INFO
path: /home/neon/.local/state/neon/
# 2M max size per log file to keep within the 10M log limit
max_bytes: 1048576
backup_count: 1
diagnostic: False
debug: False
system_unit: imperial
system:
Expand Down
3 changes: 2 additions & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
ovos-core[mycroft,lgpl]>=0.0.8a95
# padacioso==0.1.3a2

neon-utils[network]~=1.11
neon-utils[network,audio]~=1.11,>=1.11.1a1
# TODO: `audio` extra for dependency resolution
ovos-utils~=0.0,>=0.0.38
ovos-bus-client~=0.0.8,>=0.0.9a25
neon-transformers~=0.2,>=0.2.1a4
Expand Down
Loading