Page MenuHomeSoftware Heritage

Add an aiohttp logger class filtering successful requests from a set of fixed ips
Changes PlannedPublicDraft

Authored by olasd on Wed, Jun 22, 3:25 PM.

Details

Reviewers
None
Group Reviewers
Reviewers
Summary

This should allow us to cut down on the access log spam coming from swh.provenance.

Test Plan

completely untested for now...

Diff Detail

Repository
rDCORE Foundations and core functionalities
Branch
aiohttp-log-filter
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 29977
Build 46866: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 46865: arc lint + arc unit

Unit TestsFailed

TimeTest
0 msJenkins > .tox.py3-core-db-server-github-slow-cover.lib.python3.7.site-packages.swh.core.tests.test_logger
.tox/py3-core-db-server-github-slow-cover/lib/python3.7/site-packages/swh/core/tests/test_logger.py:13: in <module> from swh.core import logger <frozen importlib._bootstrap>:983: in _find_and_load

Event Timeline

Build has FAILED

Patch application report for D8019 (id=28889)

Rebasing onto 87e7afab11...

Current branch diff-target is up to date.
Changes applied before test
commit c7268c0d1738147b922557e783a4a0aa2b4459ff
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Wed Jun 22 15:21:36 2022 +0200

    Add an aiohttp logger class filtering successful requests from a set of fixed ips
    
    This should allow us to cut down on the access log spam coming from swh.provenance.

Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/453/
See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/453/console

Harbormaster returned this revision to the author for changes because remote builds failed.Wed, Jun 22, 3:27 PM
Harbormaster failed remote builds in B29977: Diff 28889!