Commit 52584f7f authored by Matt Holt's avatar Matt Holt Committed by GitHub

Merge pull request #1499 from mholt/issue1394

Log certificate location
parents 2be0dc40 bcddfb2d
...@@ -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