Commit bcddfb2d authored by Toby Allen's avatar Toby Allen

Log certificate location

parent 75ccc05d
...@@ -3,6 +3,7 @@ package caddytls ...@@ -3,6 +3,7 @@ package caddytls
import ( import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"log"
"net/url" "net/url"
"os" "os"
"path/filepath" "path/filepath"
...@@ -188,6 +189,7 @@ func (s *FileStorage) StoreSite(domain string, data *SiteData) error { ...@@ -188,6 +189,7 @@ func (s *FileStorage) StoreSite(domain string, data *SiteData) error {
if err != nil { if err != nil {
return fmt.Errorf("writing cert meta file: %v", err) return fmt.Errorf("writing cert meta file: %v", err)
} }
log.Printf("[INFO][%v] Certificate written to disk: %v", domain, s.siteCertFile(domain))
return nil return nil
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment