mirror of
https://github.com/minio/minio.git
synced 2025-11-21 18:26:04 -05:00
Add User-Agent header with MinIO release details in http logs (#7843)
This would allow http log target server to distinguish between log messages across different versions of MinIO deployments.
This commit is contained in:
committed by
Harshavardhana
parent
1cd801b2e9
commit
bbb56739bd
@@ -106,6 +106,7 @@ func StartGateway(ctx *cli.Context, gw Gateway) {
|
||||
logger.Disable = true
|
||||
|
||||
// Validate if we have access, secret set through environment.
|
||||
globalGatewayName = gw.Name()
|
||||
gatewayName := gw.Name()
|
||||
if ctx.Args().First() == "help" {
|
||||
cli.ShowCommandHelpAndExit(ctx, gatewayName, 1)
|
||||
|
||||
Reference in New Issue
Block a user