mirror of
https://git.robbyzambito.me/http-nats-proxy
synced 2025-12-21 08:44:50 +00:00
Remove logging
This logged every single request to stdout. This is not necessary.
This commit is contained in:
2
main.go
2
main.go
@@ -115,8 +115,6 @@ func main() {
|
|||||||
}
|
}
|
||||||
subject := strings.Join(subjectParts, ".")
|
subject := strings.Join(subjectParts, ".")
|
||||||
|
|
||||||
log.Println("Forwarding HTTP", r.Method, "request on", r.URL.Path, "to NATS subject:", subject)
|
|
||||||
|
|
||||||
// Create a new NATS message with the HTTP request body
|
// Create a new NATS message with the HTTP request body
|
||||||
msg := nats.Msg{
|
msg := nats.Msg{
|
||||||
Subject: subject,
|
Subject: subject,
|
||||||
|
|||||||
Reference in New Issue
Block a user