Skip to content

Preserve bare gRPC logging flag compatibility - #91

Merged
apstndb merged 1 commit into
mainfrom
fix/bare-grpc-logging-flag
Sep 8, 2026
Merged

apstndb merged 1 commit into
mainfrom
fix/bare-grpc-logging-flag

Conversation

@apstndb

@apstndb apstndb commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Preserve the previous bare --log-grpc flag as payload logging while allowing --log-grpc=off|metadata|payload. Keep the previous boolean spellings and the default of no logging.

Use Kong's boolean-style custom mapper so a bare flag cannot consume the following database argument. Explicit values use "=". Update help and README.

Validation: full Go 1.25.13 emulator suite, build, and lint passed. Parser tests cover omitted and bare flags, a database named metadata, each mode, legacy boolean values, and invalid/empty values.

@apstndb
apstndb merged commit 5dbad3b into main Sep 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant