This commit is contained in:
Pablo Yaniz 2022-12-23 15:42:17 -06:00
parent c6e475671d
commit b9930e6a45
2 changed files with 2 additions and 2 deletions

View file

@ -112,7 +112,7 @@ def load_config():
config["datedlogfiles"] = config_logging.get("datedlogfiles", False)
if config["datedlogfiles"] is True:
config["datedlogdir"] = config_logging.get("datedlogdir", "/var/log/jellyfin")
config["logfile"] = f"{config['datedlogdir']}/{datetime.today().strftime('%Y%m%d')}_rffmpeg.log"
config["logfile"] = config['datedlogdir'] + "/" + datetime.today().strftime('%Y%m%d') + "_rffmpeg.log"
config["logdebug"] = config_logging.get("debug", False)
# Parse the keys from the state group

View file

@ -22,7 +22,7 @@ rffmpeg:
# Use this base directory for Jellyfin-logging compatible dated log files if you enable "datedlogfiles"
# Set this to your Jellyfin logging directory if it differs from the default
#datedlogdir: "/var/log/jellyfin"
#datedlogdir: "/var/log/jellyfin/"
# Show debugging messages
#debug: false