I have created an user-defined log for my appdeamon app.
Is there a way to set the level threshold to define the log messages we want to have logged in the file?
Something like this:
# Log files
logs:
main_log:
filename: /config/logs/appdaemon.log
access_log:
filename: /config/logs/access.log
error_log:
filename: /config/logs/error.log
my_user_defined_log:
name: MyLog
filename: /config/logs/my.log
level: WARNING # only messages with level WARNING or higher are logged to my.log
log_generations: 3
log_size: 100000