aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/logging/filewriter.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/logging/filewriter.go')
-rw-r--r--modules/logging/filewriter.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/logging/filewriter.go b/modules/logging/filewriter.go
index 44c0feb67..62d500dca 100644
--- a/modules/logging/filewriter.go
+++ b/modules/logging/filewriter.go
@@ -20,7 +20,6 @@ import (
"io"
"math"
"os"
- "path/filepath"
"strconv"
"github.com/dustin/go-humanize"
@@ -133,7 +132,7 @@ func (fw *FileWriter) Provision(ctx caddy.Context) error {
}
func (fw FileWriter) String() string {
- fpath, err := filepath.Abs(fw.Filename)
+ fpath, err := caddy.FastAbs(fw.Filename)
if err == nil {
return fpath
}