Update main.py
Browse files
main.py
CHANGED
|
@@ -921,6 +921,9 @@ def get_admin_dashboard_stats():
|
|
| 921 |
logging.info(f"Admin Dashboard: Final response structure - userStats keys: {list(user_stats.keys())}, systemStats keys: {list(system_stats.keys())}, leaderboards keys: {list(leaderboards.keys())}")
|
| 922 |
logging.info(f"Admin Dashboard: System stats summary - Total currencies: {len(all_currencies)}, Net profit by currency: {global_net_profit_by_curr}")
|
| 923 |
|
|
|
|
|
|
|
|
|
|
| 924 |
# Log response data size for debugging
|
| 925 |
import json
|
| 926 |
response_size = len(json.dumps(response_data))
|
|
|
|
| 921 |
logging.info(f"Admin Dashboard: Final response structure - userStats keys: {list(user_stats.keys())}, systemStats keys: {list(system_stats.keys())}, leaderboards keys: {list(leaderboards.keys())}")
|
| 922 |
logging.info(f"Admin Dashboard: System stats summary - Total currencies: {len(all_currencies)}, Net profit by currency: {global_net_profit_by_curr}")
|
| 923 |
|
| 924 |
+
# Log the complete response data
|
| 925 |
+
logging.info(f"Admin Dashboard: Complete response data: {response_data}")
|
| 926 |
+
|
| 927 |
# Log response data size for debugging
|
| 928 |
import json
|
| 929 |
response_size = len(json.dumps(response_data))
|