diff --git a/sa/database.go b/sa/database.go index 7a3f41f09..2a178e1f2 100644 --- a/sa/database.go +++ b/sa/database.go @@ -116,7 +116,7 @@ type SQLLogger struct { // Printf adapts the AuditLogger to GORP's interface func (log *SQLLogger) Printf(format string, v ...interface{}) { - log.log.Debug(fmt.Sprintf(format, v)) + log.log.Debug(fmt.Sprintf(format, v...)) } // initTables constructs the table map for the ORM. If you want to also create