Skip to main content

GAE Collerated Logger

Collerated request logger for GAE python3 flexible|standard environment

Install

from PyPI

pip install gaecl

from github

pip install --user git+https://github.com/takashi8/gaecl

Use as WSGI Middleware

from gaecl import RequestLoggerMiddleware

# app: WSGI app instance

app = Flask(__name__)
app = RequestLoggerMiddleware(
    app,
    loglevel='INFO',
    project=os.getenv('GOOGLE_CLOUD_PROJECT'),
    module=os.getenv('GAE_SERVICE'),
    version=os.getenv('GAE_VERSION'),
)

@app.route('/')
def log():
    logging.info('info log')
    logging.warn('warn log')
    logging.error('error log')
    logging.critical('critical log')
    return 'ok'

Release files for gaecl 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for gaecl 0.1.0
File Interpreter ABI Platform
gaecl-0.1.0-py3-none-any.whl Python 3 none any Details

Release files / gaecl-0.1.0-py3-none-any.whl

Download URL gaecl-0.1.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98152783b9df7f3a4edb996f3bf63a5a32bc0e11e2dc9d4f65edeee86caea3a1
BLAKE2b-256 checksum
How to use checksums
1b67e1e2b5b20e6cfe79140c6b0464e8fa67f3ab5c1989271be978d9df481df7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page