mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 07:35:07 +02:00
multi: move logcompressor to logging.file.compressor
This is not a breaking change since the logcompressor config option has not been released yet.
This commit is contained in:
@@ -48,7 +48,7 @@ func (r *RotatingLogWriter) InitLogRotator(logFile, logCompressor string,
|
||||
}
|
||||
|
||||
// Reject unknown compressors.
|
||||
if !SuportedLogCompressor(logCompressor) {
|
||||
if !SupportedLogCompressor(logCompressor) {
|
||||
return fmt.Errorf("unknown log compressor: %v", logCompressor)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user