8000 Add account ID and region to AWS trace log output by whummer · Pull Request #9084 · localstack/localstack · GitHub
[go: up one dir, main page]

Skip to content

Add account ID and region to AWS trace log output #9084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update localstack/logging/format.py
Co-authored-by: Viren Nadkarni <viren.nadkarni@localstack.cloud>
  • Loading branch information
whummer and viren-nadkarni authored Sep 7, 2023
commit c3a6ed2afa45a1147b96c62b546611c1aeaa174b
2 changes: 1 addition & 1 deletion localstack/logging/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def compress_logger_name(name: str, length: int) -> str:

class TraceLoggingFormatter(logging.Formatter):
aws_trace_log_format = (
LOG_FORMAT + "; %(account_id)s/%(region)s - "
LOG_FORMAT + "; %(account_id)s/%(region)s; "
"%(input_type)s(%(input)s, headers=%(request_headers)s); "
"%(output_type)s(%(output)s, headers=%(response_headers)s)"
)
Expand Down
0