Altinity / Altinity/clickhouse-operator

Replace `glog` with `klog`

Open
#1,547 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.6k
Forks
574
Avg merge
8d 6h
Merged PRs (30d)
6

Description

Description

It seems that this idea is not new https://github.com/Altinity/clickhouse-operator/commit/9f10a8740a1ccb7edae4f88553e060941d8d8b4a. The most obvious feature is the possibility to easily change logging format from text to json.

Summary

glog:

  • Developed by Google.
  • Provides leveled logging (INFO, WARNING, ERROR, FATAL).
  • Not actively maintained anymore.

klog:

A fork of glog created by the Kubernetes community.

  • Actively maintained and developed.
  • Designed to address issues in glog, especially in containerized environments.
  • Offers better support for structured logging and context.

In essence, klog was created to overcome the limitations of glog, making it more suitable for modern applications, especially those running in Kubernetes.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the repository's glog usage and reviewing the linked Altinity commit; done means replacing glog with klog and supporting the requested text-to-JSON logging format.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops, infrastructure
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.