summaryrefslogtreecommitdiff
path: root/dotbot/plugins/link.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-11-15 15:14:14 +0100
committerAnton Khirnov <anton@khirnov.net>2020-11-15 15:14:14 +0100
commit7eabd2856753c73a818159e7cb3316148ca600dc (patch)
tree41c1ff8a88fb67532a1cfe5f41db3f862d8173e7 /dotbot/plugins/link.py
parent4d5c7f992a7015f6c5e6d0051057120b8f0c382a (diff)
Tweak log levels.
Use info for changes performed (e.g. changes to the filesystem, code executed). Use verbose for "nothing to do" messages.
Diffstat (limited to 'dotbot/plugins/link.py')
-rw-r--r--dotbot/plugins/link.py6
1 files changed, 3 insertions, 3 deletions
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):