summaryrefslogtreecommitdiff
path: root/jfr_playoff/tournamentinfo/tcjson.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-12-30 12:34:09 +0100
committeremkael <emkael@tlen.pl>2019-12-30 12:34:09 +0100
commit5a5326bf17a4ed3402255493efefd69544afe0d0 (patch)
treed289f94a4b2f4d93609af3c5ba39763b2b4160bc /jfr_playoff/tournamentinfo/tcjson.py
parentb869655086ca2139a532d5633d858e6fff2ccbfc (diff)
Detailed logging categories for tournament info clients
Diffstat (limited to 'jfr_playoff/tournamentinfo/tcjson.py')
-rw-r--r--jfr_playoff/tournamentinfo/tcjson.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/jfr_playoff/tournamentinfo/tcjson.py b/jfr_playoff/tournamentinfo/tcjson.py
index 775183e..5a81ef3 100644
--- a/jfr_playoff/tournamentinfo/tcjson.py
+++ b/jfr_playoff/tournamentinfo/tcjson.py
@@ -14,7 +14,7 @@ class TCJsonTournamentInfo(TournamentInfoClient):
def get_results_link(self, suffix):
link = urlparse.urljoin(self.settings['link'], suffix)
- PlayoffLogger.get('tcjson').info(
+ PlayoffLogger.get('tournament.tcjson').info(
'generating tournament-specific link from leaderboard link %s: %s -> %s',
self.settings['link'], suffix, link)
return link
@@ -27,7 +27,7 @@ class TCJsonTournamentInfo(TournamentInfoClient):
last_session = settings_json['LastPlayedSession']
finished = (not live_results) \
and (last_round > 0) and (last_session > 0)
- PlayoffLogger.get('jfrhtml').info(
+ PlayoffLogger.get('tournament.tcjson').info(
'tournament settings (live = %s, last_round = %d, last_session = %d) indicate finished: %s',
live_results, last_round, last_session, finished)
return finished
@@ -57,6 +57,6 @@ class TCJsonTournamentInfo(TournamentInfoClient):
group_id, result['Place'],
participant['_name'], participant['_shortName'],
flag_url))
- PlayoffLogger.get('tcjson').info(
+ PlayoffLogger.get('tournament.tcjson').info(
'tournament results fetched: %s' % results)
return [list(r[2:]) + [None] for r in sorted(results)]