Skip to content

mgr/cephadm: Do not propogate access logs from cherrypy - #44017

Merged
liewegas merged 1 commit into
ceph:masterfrom
adk3798:post-log-spam
Dec 3, 2021
Merged

liewegas merged 1 commit into
ceph:masterfrom
adk3798:post-log-spam

Conversation

@adk3798

@adk3798 adk3798 commented Nov 18, 2021 •

Copy link
Copy Markdown
Contributor

The only messages we're really interested in are errors that
would come from the error logs. The access logs only provide
messages like

10.221.1.44 - - [18/Nov/2021:23:55:32] "POST /data HTTP/1.1" 200 - "" "Python-urllib/3.8"

which we don't want spammed to the log, especially since they are
logged at INFO level

Signed-off-by: Adam King [email protected]

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
  • Teuthology
    • Completed teuthology run
    • No teuthology test necessary (e.g., documentation)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@sebastian-philipp sebastian-philipp added the wip-swagner-testing My Teuthology tests label Nov 30, 2021
@sebastian-philipp

Copy link
Copy Markdown
Contributor

jenkins test make check

@sebastian-philipp sebastian-philipp added ready-to-merge and removed wip-swagner-testing My Teuthology tests labels Dec 1, 2021
@sebastian-philipp

Copy link
Copy Markdown
Contributor

cephadm/agent.py:41:1: E305 expected 2 blank lines after class or function definition, found 1

The only messages we're really interested in are errors that
would come from the error logs. The acces logs only provide
messages like

- [18/Nov/2021:23:55:32] "POST /data HTTP/1.1" 200 - "" "Python-urllib/3.8"

which we don't want spammed to the log, especially since they are
logged at INFO level

Signed-off-by: Adam King <[email protected]>
@adk3798

adk3798 commented Dec 2, 2021

Copy link
Copy Markdown
Contributor Author

jenkins test api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants