diff options
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -65,7 +65,7 @@ func checkTokenAndLog(handler http.Handler) http.Handler { return } - log.Printf("%s %s %s\n", r.RemoteAddr, r.Method, r.URL) + log.Printf("%s %s %s\n", r.RemoteAddr, r.Method, strings.Split(r.URL, "?")[0]) handler.ServeHTTP(w, r) }) } @@ -80,7 +80,8 @@ func handleTxn(w http.ResponseWriter, r *http.Request) { return } - log.Debugf("Got transaction %#v\n", txn) + log.Debugf("Processing transaction %s (%d events)", mux.Vars(r)["txnId"], len(txn.Events)) + log.Tracef("Transaction content: %#v\n", txn) for i := range txn.Events { ev := &txn.Events[i] |