about summary refs log tree commit diff
path: root/src/rest-api/cmd/main.go
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-07-21 11:41:28 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-07-21 11:41:28 +0200
commit145e0204bc459f9186ea2f11b5ee434fb8593ade (patch)
treed319869022771cc4848605e8f231495a243a5f2e /src/rest-api/cmd/main.go
parentMisc: Add TODO (diff)
downloadfs-tracer-backend-145e0204bc459f9186ea2f11b5ee434fb8593ade.tar.gz
fs-tracer-backend-145e0204bc459f9186ea2f11b5ee434fb8593ade.tar.bz2
fs-tracer-backend-145e0204bc459f9186ea2f11b5ee434fb8593ade.zip
Misc: Log to stdout
Diffstat (limited to 'src/rest-api/cmd/main.go')
-rw-r--r--src/rest-api/cmd/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rest-api/cmd/main.go b/src/rest-api/cmd/main.go
index a493913..f8e3e2f 100644
--- a/src/rest-api/cmd/main.go
+++ b/src/rest-api/cmd/main.go
@@ -15,6 +15,7 @@ import (
 )
 
 func main() {
+	log.SetOutput(os.Stdout)
 	kafka_password, ok := os.LookupEnv("KAFKA_PASSWORD")
 	if !ok {
 		log.Fatal("KAFKA_PASSWORD not set")