diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 69d871c4..e9df9e56 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.5, 3.6, 3.7, 3.8] + python-version: [3.5, 3.6, 3.7, 3.8, 3.9] fail-fast: false steps: - name: Checkout source codes diff --git a/skywalking/loggings.py b/skywalking/loggings.py index 395abe18..55289efb 100644 --- a/skywalking/loggings.py +++ b/skywalking/loggings.py @@ -23,9 +23,10 @@ def getLogger(name=None): logger = logging.getLogger(name) ch = logging.StreamHandler() - formatter = logging.Formatter('%(name)-32s [%(threadName)-15s] [%(levelname)-8s] %(message)s') + formatter = logging.Formatter('%(name)s [%(threadName)s] [%(levelname)s] %(message)s') ch.setFormatter(formatter) logger.addHandler(ch) + logger.propagate = False return logger