Change logging domains

This commit is contained in:
Philipp Hörist
2019-03-10 10:27:07 +01:00
parent 237f50cfb5
commit 6436c1cafa
23 changed files with 23 additions and 23 deletions

View File

@@ -103,7 +103,7 @@ for this plugin and/or filter log messages.
Run
```
gajim --loglevel gajim.plugin_system.syntax_highlight=DEBUG
gajim --loglevel gajim.p.syntax_highlight=DEBUG
```
in a terminal to display the debug messages.

View File

@@ -11,7 +11,7 @@ from .gtkformatter import GTKFormatter
from .types import MatchType, LineBreakOptions, CodeMarkerOptions
log = logging.getLogger('gajim.plugin_system.syntax_highlight')
log = logging.getLogger('gajim.p.syntax_highlight')
class ChatSyntaxHighlighter:
def hide_code_markup(self, buf, start, end):

View File

@@ -5,7 +5,7 @@ from gi.repository import Pango
from pygments.formatter import Formatter
from gajim.plugins.helpers import log
log = logging.getLogger('gajim.plugin_system.syntax_highlight')
log = logging.getLogger('gajim.p.syntax_highlight')
class GTKFormatter(Formatter):
name = 'GTK Formatter'

View File

@@ -13,7 +13,7 @@ from gajim.plugins import GajimPlugin
from .types import MatchType, LineBreakOptions, CodeMarkerOptions, \
PLUGIN_INTERNAL_NONE_LEXER_ID
log = logging.getLogger('gajim.plugin_system.syntax_highlight')
log = logging.getLogger('gajim.p.syntax_highlight')
def try_loading_pygments():
success = find_module('pygments') is not None