question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Honor gunicorn access log format

See original GitHub issue

When running under gunicorn, --access-logformat isn’t honored.

There was some discussion of this in #389, but I didn’t see an open issue for it.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:45
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
danieltaharacommented, Jan 27, 2020

This is a pretty big loss for observability for us, and means we have to implement something out of band (and therefore less efficient). Any word on if it will be worked on?

4reactions
lambdaqcommented, Dec 22, 2021

Can we merge this PR? This is extremely useful for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gunicorn access log format - python - Stack Overflow
The simplest solution is to change outer single quotes to double quotes and inner double quotes to single quotes as mentioned below.
Read more >
Settings — Gunicorn 20.1.0 documentation
Command line: --access-logformat STRING. Default: '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"'. The access log format.
Read more >
Gunicorn Documentation - Read the Docs
Gunicorn uses the standard Python logging module's Configuration file format. logconfig_dict. Default: {}. The log config dictionary to use, using the standard ...
Read more >
inboard - PyPI
LOG_LEVEL : Log level for Gunicorn or Uvicorn. Default: "info"; Custom (organized from greatest to least amount of logging):. LOG_LEVEL="debug" ...
Read more >
Deploying Python Applications with Gunicorn
Configuring Python applications to use the Gunicorn web server, ... Here's an example Procfile for the Django application we created in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found