Last active
July 24, 2023 21:09
-
-
Save daniilyar-incountry/fb4d97303d985379c2452a2e99a7afca to your computer and use it in GitHub Desktop.
Example application log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"type": "req_audit", "request": "GET /health", "http_code": "200", "request_url": "/health", "http_query_string": "", "http_verb": "GET", "remote_addr": "172.28.5.254", "request_id": "4bb814", "response_length": "44", "user_agent": "ELB-HealthChecker", "type": "application.mycorp.app_log", "time": "2022-06-14T13:20:35.287272Z", "severity": "INFO", "python.line": 349, "python.module": "glogging", "python.file": "glogging.py", "python.logger": "gunicorn.access", "python.function": "access"} | |
{"type": "req_audit", "request": "GET /health", "http_code": "200", "request_url": "/health", "http_query_string": "", "http_verb": "GET", "remote_addr": "172.28.5.254", "request_id": "acc71ad", "response_length": "44", "user_agent": "ELB-HealthChecker", "type": "application.mycorp.app_log", "time": "2022-06-14T13:20:38.389342Z", "severity": "INFO", "python.line": 349, "python.module": "glogging", "python.file": "glogging.py", "python.logger": "gunicorn.access", "python.function": "access"} | |
{"type": "app_log", "msg": "[CognitoAuthService] Create auth URL for Cognito OAuth", "type": "application.mycorp.app_log", "time": "2022-06-14T13:21:00.246852Z", "severity": "TRACE", "python.line": 50, "python.module": "__init__", "python.file": "__init__.py", "python.logger": "portalbackend", "python.function": "format_authorize_entity", "url": "https://portal.qa.mycorp.com/auth/v2/login", "remote_addr": "172.28.5.254", "user_agent": "python-requests/2.27.1", "request_id": "f072cc4e709425c51e1e2dca5c744798"} | |
{"type": "app_log", "msg": "[CognitoAuthService] result url=https://mycorp-qa.auth.eu-north-1.amazoncognito.com/authorize?identity_provider=idpnosecret&client_id=21gpgen4a524btm7pdo95algeq&redirect_uri=https%3A%2F%2Fportal.qa.mycorp.com%2Fapi%2Fauth%2Fv2%2Flogin%2Fcallback&response_type=code&scope=email%2Bopenid&state=uh0mphn7949zamwd&code_challenge=OtWqAQ_f0QpdtqvCQE_Idnq2gNr1JOI7HgKWiDq-W50&code_challenge_method=S256&nonce=wvxk2qp0oyebn0ry", "type": "application.mycorp.app_log", "time": "2022-06-14T13:21:00.247230Z", "severity": "DEBUG", "python.line": 71, "python.module": "__init__", "python.file": "__init__.py", "python.logger": "portalbackend", "python.function": "format_authorize_entity", "url": "https://portal.qa.mycorp.com/auth/v2/login", "remote_addr": "172.28.5.254", "user_agent": "python-requests/2.27.1", "request_id": "f072cc4e709425c51e1e2dca5c744798"} | |
{"type": "req_audit", "request": "GET /auth/v2/login", "http_code": "200", "request_url": "/auth/v2/login", "http_query_string": "", "http_verb": "GET", "remote_addr": "172.28.5.254", "request_id": "f072cc4e709425c51e1e2dca5c744798", "response_length": "410", "user_agent": "python-requests/2.27.1", "type": "application.mycorp.app_log", "time": "2022-06-14T13:21:00.248932Z", "severity": "INFO", "python.line": 349, "python.module": "glogging", "python.file": "glogging.py", "python.logger": "gunicorn.access", "python.function": "access"} | |
{"type": "app_log", "msg": "[AUTH] failed (unknown client, no client authentication included, or unsupported authentication method)", "time": "2022-06-14T13:21:01.172691Z", "severity": "WARNING", "python.line": 479, "python.module": "routes_auth_idp", "python.file": "routes_auth_idp.py", "python.logger": "portalbackend", "python.function": "error_provider", "url": "https://auth.qa.mycorp.com/auth/error", "remote_addr": "172.28.5.254", "user_agent": "python-requests/2.27.1", "request_id": "f19f89"} | |
{"type": "app_log", "msg": "[AUTH] failed (unknown client, no client authentication included, or unsupported authentication method). The requested OAuth 2.0 Client does not exist.", "type": "application.mycorp.app_log", "time": "2022-06-14T13:21:01.173086Z", "severity": "WARNING", "python.line": 370, "python.module": "helpers", "python.file": "helpers.py", "python.logger": "portalbackend", "python.function": "render_400", "url": "https://auth.qa.mycorp.com/auth/error", "remote_addr": "172.28.5.254", "user_agent": "python-requests/2.27.1", "request_id": "f19f89"} | |
{"type": "app_log", "msg": "[AUTH] failed (unknown client, no client authentication included, or unsupported authentication method). The requested OAuth 2.0 Client does not exist.", "type": "application.mycorp.app_log", "time": "2022-06-14T13:21:03.173086Z", "severity": "ERROR", "python.line": 370, "python.module": "helpers", "python.file": "helpers.py", "python.logger": "portalbackend", "python.function": "render_400", "url": "https://auth.qa.mycorp.com/auth/error", "remote_addr": "172.28.5.254", "user_agent": "python-requests/2.27.1", "request_id": "f19f89"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment