Skip to content

Commit 2851190

Browse files
Fix typo of log file path (#719)
* Fix typo of log file path Hey! I got a bit baffled by 'pass' which I believe means 'path' of the log file. Hope it helps. * fix comment for log_to_file CLI param in acra-server --------- Co-authored-by: Lagovas <dmitry@cossacklabs.com>
1 parent 3674727 commit 2851190

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/acra-server/acra-server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func registerFlags(flagSet *flag.FlagSet) {
151151
flagSet.Bool("v", false, "Log to stderr all INFO, WARNING and ERROR logs")
152152
flagSet.Bool("d", false, "Log everything to stderr")
153153
flagSet.Bool("log_to_console", true, "Log to stderr if true")
154-
flagSet.String("log_to_file", "", "Log to file if pass not empty value")
154+
flagSet.String("log_to_file", "", "Log to file if path not empty value")
155155

156156
network.RegisterTLSBaseArgs(flagSet)
157157
network.RegisterTLSArgsForService(flagSet, false, "", network.ClientNameConstructorFunc())

configs/acra-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ kms_type:
152152
# Log to stderr if true
153153
log_to_console: true
154154

155-
# Log to file if pass not empty value
155+
# Log to file if path not empty value
156156
log_to_file:
157157

158158
# Logging format: plaintext, json or CEF

0 commit comments

Comments
 (0)