Skip to content

Commit

Permalink
Merge pull request #521 from haobibo/patch-1
Browse files Browse the repository at this point in the history
compact debug log into single line
  • Loading branch information
minrk authored Feb 12, 2025
2 parents 3d87f3c + b76f578 commit bf1ac72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dockerspawner/dockerspawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"""
import asyncio
import inspect
import json
import os
import string
import warnings
from concurrent.futures import ThreadPoolExecutor
from functools import partial
from io import BytesIO
from pprint import pformat
from tarfile import TarFile, TarInfo
from textwrap import dedent, indent
from urllib.parse import urlparse
Expand Down Expand Up @@ -1010,7 +1010,7 @@ async def poll(self):

container_state = container["State"]
self.log.debug(
"Container %s status: %s", self.container_id[:7], pformat(container_state)
"Container %s status: %s", self.container_id[:7], json.dumps(container_state, ensure_ascii=False)
)

if container_state["Running"]:
Expand Down

0 comments on commit bf1ac72

Please sign in to comment.