summaryrefslogtreecommitdiff
path: root/dotbot/plugins/create.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/create.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/create.py')
-rw-r--r--dotbot/plugins/create.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dotbot/plugins/create.py b/dotbot/plugins/create.py
index eee6e17..7e39c1a 100644
--- a/dotbot/plugins/create.py
+++ b/dotbot/plugins/create.py
@@ -23,7 +23,7 @@ class Create(dotbot.Plugin):
path = os.path.expandvars(os.path.expanduser(path))
success &= self._create(path)
if success:
- self._log.info('All paths have been set up')
+ self._log.verbose('All paths have been set up')
else:
self._log.error('Some paths were not successfully set up')
return success
@@ -40,7 +40,7 @@ class Create(dotbot.Plugin):
if not self._exists(path):
self._log.debug('Trying to create path %s' % path)
try:
- self._log.verbose('Creating path %s' % path)
+ self._log.info('Creating path %s' % path)
os.makedirs(path)
except OSError:
self._log.warning('Failed to create path %s' % path)