about summary refs log tree commit diff
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
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
-rw-r--r--src/payload-processor/cmd/main.go1
-rw-r--r--src/rest-api/cmd/main.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/payload-processor/cmd/main.go b/src/payload-processor/cmd/main.go
index b86f5d1..53b1b45 100644
--- a/src/payload-processor/cmd/main.go
+++ b/src/payload-processor/cmd/main.go
@@ -14,6 +14,7 @@ import (
 )
 
 func main() {
+	log.SetOutput(os.Stdout)
 	kafka_password, ok := os.LookupEnv("KAFKA_PASSWORD")
 	if !ok {
 		log.Fatal("KAFKA_PASSWORD not set")
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")