From c8081f339ab10adfa5b618d1c8fb5359717659bb Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 13 Aug 2021 14:45:11 +0100 Subject: [PATCH] plug.py: Use `logger.trace_if(...)` --- plug.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plug.py b/plug.py index 2899c237..2f3ab888 100644 --- a/plug.py +++ b/plug.py @@ -257,8 +257,8 @@ def notify_journal_entry(cmdr, is_beta, system, station, entry, state): :param is_beta: whether the player is in a Beta universe. :returns: Error message from the first plugin that returns one (if any) """ - # if entry['event'] in ('Location'): - # logger.trace('Notifying plugins of "Location" event') + if entry['event'] in ('Location'): + logger.trace_if('journal.locations', 'Notifying plugins of "Location" event') error = None for plugin in PLUGINS: