From 7eabd2856753c73a818159e7cb3316148ca600dc Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 15 Nov 2020 15:14:14 +0100 Subject: Tweak log levels. Use info for changes performed (e.g. changes to the filesystem, code executed). Use verbose for "nothing to do" messages. --- dotbot/plugins/link.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dotbot/plugins/link.py') diff --git a/dotbot/plugins/link.py b/dotbot/plugins/link.py index 45b893f..4112fe5 100644 --- a/dotbot/plugins/link.py +++ b/dotbot/plugins/link.py @@ -100,7 +100,7 @@ class Link(dotbot.Plugin): success &= self._delete(path, destination, relative, canonical_path, force) success &= self._link(path, destination, relative, canonical_path, ignore_missing) if success: - self._log.info('All links have been set up') + self._log.verbose('All links have been set up') else: self._log.error('Some links were not successfully set up') return success @@ -152,7 +152,7 @@ class Link(dotbot.Plugin): self._log.warning('Failed to create directory %s' % parent) success = False else: - self._log.verbose('Creating directory %s' % parent) + self._log.info('Creating directory %s' % parent) return success def _delete(self, source, path, relative, canonical_path, force): @@ -180,7 +180,7 @@ class Link(dotbot.Plugin): success = False else: if removed: - self._log.verbose('Removing %s' % path) + self._log.info('Removing %s' % path) return success def _relative_path(self, source, destination): -- cgit v1.2.3