metac icon indicating copy to clipboard operation
metac copied to clipboard

Migrate from glog to another log solution?

Open floriankoch opened this issue 5 years ago • 4 comments

glog is not maintained since 2016 , and e.g the kubernetes project itself migrated away They use klog now, seems like more or less a drop in replacement https://github.com/kubernetes/klog

Should metac migrate away from glog?

If yes, which log solution?

floriankoch avatar Apr 17 '20 05:04 floriankoch

https://github.com/AmitKumarDas/metac/issues/110

grzesuav avatar Apr 17 '20 06:04 grzesuav

adding as it would be good to have possibility to log in json for usage with elasticsearch

grzesuav avatar Apr 17 '20 06:04 grzesuav

klog should be drop in replacement. Integration tests have them already. I would vote for klog.

As per this example, it has all the fields needed to output in a structured format.

It will be great if community can experiment klog with json output & post the results here.

AmitKumarDas avatar Apr 18 '20 03:04 AmitKumarDas

As discussed, Integration Tests in metac was using klog. This PR makes use of klog with appropriate flags.

AmitKumarDas avatar Apr 19 '20 04:04 AmitKumarDas