Skip to content

Commit

Permalink
Changed loglevel in inotify.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Delle Cave committed Jan 5, 2020
1 parent 727ea5f commit 89d8481
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 15 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
python-dwho (0.3.21) unstable; urgency=medium

* Changed loglevel in inotify.

-- Adrien DELLE CAVE (Decryptus) <adc@doowan.net> Sun, 05 Jan 2020 21:38:39 +0100

python-dwho (0.3.20) unstable; urgency=medium

* Fixed inotify stop for workers.
Expand Down
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.20
0.3.21
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.20
0.3.21
3 changes: 2 additions & 1 deletion dwho/classes/inoplugs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
import abc
import logging
import os
import six

from socket import getfqdn

import six

from dwho.classes.abstract import DWhoAbstractDB

CACHE_EXPIRE = -1
Expand Down
20 changes: 10 additions & 10 deletions dwho/classes/inotify.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,11 +441,11 @@ def get_cfg_path(self, path):
return None

def __add_watch(self, cfg_path):
LOG.debug("Add watch. (path: %r, mask: %r, plugins: %r, glob: %r)",
cfg_path.path,
cfg_path.event_mask,
cfg_path.plugins,
cfg_path.do_glob)
LOG.info("Add watch. (path: %r, mask: %r, plugins: %r, glob: %r)",
cfg_path.path,
cfg_path.event_mask,
cfg_path.plugins,
cfg_path.do_glob)

try:
wdd = self.wm.add_watch(cfg_path.path,
Expand All @@ -472,11 +472,11 @@ def __rem_watch(self, cfg_path):
if cfg_path.path not in self.cfg_paths:
return

LOG.debug("Remove watch. (path: %r, mask: %r, plugins: %r, glob: %r)",
cfg_path.path,
cfg_path.event_mask,
cfg_path.plugins,
cfg_path.do_glob)
LOG.info("Remove watch. (path: %r, mask: %r, plugins: %r, glob: %r)",
cfg_path.path,
cfg_path.event_mask,
cfg_path.plugins,
cfg_path.do_glob)

try:
self.wm.rm_watch(cfg_path.path, rec = True, quiet = False)
Expand Down
4 changes: 2 additions & 2 deletions setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: dwho
author: Adrien Delle Cave
author_email: pypi@doowan.net
copyright: '2020 Adrien Delle Cave'
release: '0.3.20'
version: '0.3.20'
release: '0.3.21'
version: '0.3.21'
license: License GPL-3
url: https://github.com/decryptus/dwho
python_requires:
Expand Down

0 comments on commit 89d8481

Please sign in to comment.