Change logging domains
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user