We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4dc26b commit c56db5aCopy full SHA for c56db5a
changelog/29917.txt
@@ -0,0 +1,3 @@
1
+```release-note:bug
2
+core: Fix a bug that prevents certain loggers from writing to a log file.
3
+```
command/server.go
@@ -420,9 +420,7 @@ func (c *ServerCommand) AutocompleteFlags() complete.Flags {
420
}
421
422
func (c *ServerCommand) flushLog() {
423
- c.logger.(hclog.OutputResettable).ResetOutputWithFlush(&hclog.LoggerOptions{
424
- Output: c.logWriter,
425
- }, c.logGate)
+ c.logGate.Flush()
426
427
428
func (c *ServerCommand) parseConfig() (*server.Config, []configutil.ConfigError, error) {
0 commit comments