summaryrefslogtreecommitdiffstats
path: root/utils/file_backend_local.go
diff options
context:
space:
mode:
authorMartin Kraft <martinkraft@gmail.com>2018-05-01 18:59:20 -0400
committerMartin Kraft <martinkraft@gmail.com>2018-05-01 18:59:20 -0400
commitff6c42309c4dd328b5841cfeef6b59ea59a4379c (patch)
treec2c3b4938588549ea69653a46d98b27f6fe37b80 /utils/file_backend_local.go
parent2386acb3ddabd8827e21b1862c338a8b13a25de6 (diff)
parente73f1d73143ebba9c7e80d21c45bba9b61f2611c (diff)
downloadchat-ff6c42309c4dd328b5841cfeef6b59ea59a4379c.tar.gz
chat-ff6c42309c4dd328b5841cfeef6b59ea59a4379c.tar.bz2
chat-ff6c42309c4dd328b5841cfeef6b59ea59a4379c.zip
Merge remote-tracking branch 'origin/master' into advanced-permissions-phase-2
Diffstat (limited to 'utils/file_backend_local.go')
-rw-r--r--utils/file_backend_local.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/file_backend_local.go b/utils/file_backend_local.go
index 1367ccc1e..f85ace55a 100644
--- a/utils/file_backend_local.go
+++ b/utils/file_backend_local.go
@@ -9,8 +9,7 @@ import (
"os"
"path/filepath"
- l4g "github.com/alecthomas/log4go"
-
+ "github.com/mattermost/mattermost-server/mlog"
"github.com/mattermost/mattermost-server/model"
)
@@ -28,7 +27,7 @@ func (b *LocalFileBackend) TestConnection() *model.AppError {
return model.NewAppError("TestFileConnection", "Don't have permissions to write to local path specified or other error.", nil, err.Error(), http.StatusInternalServerError)
}
os.Remove(filepath.Join(b.directory, TEST_FILE_PATH))
- l4g.Info("Able to write files to local storage.")
+ mlog.Info("Able to write files to local storage.")
return nil
}