|
|
@ -25,6 +25,7 @@ import ( |
|
|
|
"github.com/minio/minio/cmd/logger" |
|
|
|
"github.com/minio/minio/cmd/logger" |
|
|
|
"github.com/minio/minio/cmd/logger/message/log" |
|
|
|
"github.com/minio/minio/cmd/logger/message/log" |
|
|
|
"github.com/minio/minio/pkg/color" |
|
|
|
"github.com/minio/minio/pkg/color" |
|
|
|
|
|
|
|
"github.com/minio/minio/pkg/console" |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
// Target implements loggerTarget to send log
|
|
|
|
// Target implements loggerTarget to send log
|
|
|
@ -109,7 +110,7 @@ func (c *Target) Send(e interface{}, logKind string) error { |
|
|
|
apiString, timeString, deploymentID, requestID, remoteHost, host, userAgent, |
|
|
|
apiString, timeString, deploymentID, requestID, remoteHost, host, userAgent, |
|
|
|
msg, tagString, strings.Join(trace, "\n")) |
|
|
|
msg, tagString, strings.Join(trace, "\n")) |
|
|
|
|
|
|
|
|
|
|
|
fmt.Println(output) |
|
|
|
console.Println(output) |
|
|
|
return nil |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|