mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
portable mode: add Azure Blob support
This commit is contained in:
@@ -60,7 +60,7 @@ func (s *Service) Start() error {
|
||||
logger.InitLogger(s.LogFilePath, s.LogMaxSize, s.LogMaxBackups, s.LogMaxAge, s.LogCompress, logLevel)
|
||||
if s.PortableMode == 1 {
|
||||
logger.EnableConsoleLogger(logLevel)
|
||||
if len(s.LogFilePath) == 0 {
|
||||
if s.LogFilePath == "" {
|
||||
logger.DisableLogger()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user