summaryrefslogtreecommitdiffstats
path: root/utils/logger/logger.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-09-06 23:05:10 -0700
committerChristopher Speller <crspeller@gmail.com>2017-09-06 23:11:59 -0700
commit29fca51821981079175adf336d303a474f5ef310 (patch)
treea8866cb74ab28afa2c5c4af412454d58e250eb45 /utils/logger/logger.go
parentd8bd57901e33a7057e26e782e295099ffcc0da89 (diff)
downloadchat-29fca51821981079175adf336d303a474f5ef310.tar.gz
chat-29fca51821981079175adf336d303a474f5ef310.tar.bz2
chat-29fca51821981079175adf336d303a474f5ef310.zip
Renaming repo
Diffstat (limited to 'utils/logger/logger.go')
-rw-r--r--utils/logger/logger.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/logger/logger.go b/utils/logger/logger.go
index 717f337ed..227cf405e 100644
--- a/utils/logger/logger.go
+++ b/utils/logger/logger.go
@@ -13,8 +13,8 @@ import (
"strings"
- "github.com/mattermost/platform/model"
- "github.com/mattermost/platform/utils"
+ "github.com/mattermost/mattermost-server/model"
+ "github.com/mattermost/mattermost-server/utils"
"github.com/pkg/errors"
)
@@ -96,7 +96,7 @@ func serializeContext(ctx context.Context) map[string]string {
// Returns the path to the next file up the callstack that has a different name than this file
// in other words, finds the path to the file that is doing the logging.
-// Removes machine-specific prefix, so returned path starts with /platform.
+// Removes machine-specific prefix, so returned path starts with /mattermost-server.
// Looks a maximum of 10 frames up the call stack to find a file that has a different name than this one.
func getCallerFilename() (string, error) {
_, currentFilename, _, ok := runtime.Caller(0)