diff --git a/bin/neosproxy-linux-amd64 b/bin/neosproxy-linux-amd64 index 07e5dd9..888d1b9 100755 Binary files a/bin/neosproxy-linux-amd64 and b/bin/neosproxy-linux-amd64 differ diff --git a/neosproxy.go b/neosproxy.go index 4684757..bdf7fac 100644 --- a/neosproxy.go +++ b/neosproxy.go @@ -34,6 +34,7 @@ func (p *Proxy) invalidateCache(w http.ResponseWriter, r *http.Request) { }(p) w.WriteHeader(http.StatusOK) + log.Println(fmt.Sprintf("%d\t%s\t%s", http.StatusOK, r.URL, "invalidate cache")) } func (p *Proxy) serveCachedNeosContentServerExport(w http.ResponseWriter, r *http.Request) { @@ -69,6 +70,7 @@ func (p *Proxy) streamCachedNeosContentServerExport(w http.ResponseWriter, r *ht } func (p *Proxy) cacheNeosContentServerExport() (err error) { + log.Println(fmt.Sprintf("%d\t%s\t%s", http.StatusProcessing, "/contentserverproxy/cache", "get new contentserver export from neos")) cacheFile, err := os.Create(p.FilenameCachedContentServerExport + ".download") if err != nil { return @@ -95,6 +97,7 @@ func (p *Proxy) cacheNeosContentServerExport() (err error) { return } + log.Println(fmt.Sprintf("%d\t%s\t%s", http.StatusOK, "/contentserverproxy/cache", "got new contentserver export from neos")) return nil }