Skip to content

Commit

Permalink
Update logging config handling and default configurations (#706)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel McKnight <[email protected]>
  • Loading branch information
NeonDaniel and NeonDaniel authored Aug 9, 2024
1 parent bebf3dc commit 0d1453d
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 47 deletions.
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

0 comments on commit 0d1453d

Please sign in to comment.