mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-19 10:27:07 +01:00
Updated for logging
This commit is contained in:
parent
ef2d07b31e
commit
ca5095bc1b
2 changed files with 5 additions and 1 deletions
|
@ -55,6 +55,10 @@ class CheckUpdates(Configs):
|
|||
else:
|
||||
self.sbo_repository()
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.info('%s: %s: %s:', self.__class__.__name__,
|
||||
self.__class__.check.__name__, self.compare)
|
||||
|
||||
return self.compare
|
||||
|
||||
def binary_repository(self, repo) -> None:
|
||||
|
|
|
@ -11,4 +11,4 @@ class LoggingConfig:
|
|||
encoding: str = 'utf-8'
|
||||
root_slpkg: Path = Path(Path.home(), '.slpkg')
|
||||
log_path: Path = Path(root_slpkg, 'logs')
|
||||
log_file: Path = Path(log_path, 'errors_slpkg.log')
|
||||
log_file: Path = Path(log_path, 'slpkg.log')
|
||||
|
|
Loading…
Reference in a new issue