mirror of
https://github.com/ep1cman/unifi-protect-backup.git
synced 2026-01-04 01:23:26 +00:00
Added debug logging of config settings
This commit is contained in:
@@ -204,6 +204,21 @@ class UnifiProtectBackup:
|
||||
"""
|
||||
setup_logging(verbose)
|
||||
|
||||
logger.debug("Config:")
|
||||
logger.debug(f" {address=}")
|
||||
logger.debug(f" {port=}")
|
||||
logger.debug(f" {username=}")
|
||||
if verbose < 5:
|
||||
logger.debug(" password=REDACTED")
|
||||
else:
|
||||
logger.debug(f" {password=}")
|
||||
|
||||
logger.debug(f" {verify_ssl=}")
|
||||
logger.debug(f" {rclone_destination=}")
|
||||
logger.debug(f" {retention=}")
|
||||
logger.debug(f" {ignore_cameras=}")
|
||||
logger.debug(f" {verbose=}")
|
||||
|
||||
self.rclone_destination = rclone_destination
|
||||
self.retention = retention
|
||||
|
||||
|
||||
Reference in New Issue
Block a user