Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Created by Guest
Created on May 7, 2021

Add ability to have systemLog redirected to stdout (just have to remove systemLog.destination and path)

To be able to have MongoDB logs redirect to stdout and this having it into GKE CloudLogs, we should NOT configure a systemLog.destination nor a systemLog.path. In 0.6.0 release, systemLog.destination and path are hardcoded and cannot be nullable. see automation_config_builder.go at line 208: ... process.SetSystemLog(SystemLog{ Destination: "file", Path: path.Join(DefaultAgentLogPath, "/mongodb.log"), }) ...
  • Attach files