From: Ant Zucaro Date: Sat, 2 Apr 2011 18:05:57 +0000 (-0400) Subject: Add debugging output for the request body. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=43f240d46f882ebcc95156ff61fa48f47fc16cc9;p=xonotic%2Fxonstat.git Add debugging output for the request body. --- diff --git a/xonstat/views.py b/xonstat/views.py index cc92acf..54c3125 100644 --- a/xonstat/views.py +++ b/xonstat/views.py @@ -171,6 +171,9 @@ def stats_submit(request): player_events = {} players = [] + # for troubleshooting issues... + log.debug(request.body) + # main loop over each line of the stats body for line in request.body.split('\n'): (key, value) = line.strip().split(' ', 1)