Let glog log only to console
Author: andrea-cassioli-maerskCreated May 17, 2023Updated Jun 3, 2024
LabelsPR welcome
I mention in another thread, but I would like to better understand how to let glog log only to console.
In my use case, the application runs in a docker container in a kubernetes cluster. The cluster has its logging service that monitors the console output of the process and make it available via grafana. So it seems natural to skip the file logging and go on the console (also nice when developing...).
How can this be done?
Source: google/glog