Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YSQL] postgresql logs contain two formats, confusing log tools #22163

Open
1 task done
foucher opened this issue Apr 25, 2024 · 0 comments
Open
1 task done

[YSQL] postgresql logs contain two formats, confusing log tools #22163

foucher opened this issue Apr 25, 2024 · 0 comments
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage

Comments

@foucher
Copy link
Contributor

foucher commented Apr 25, 2024

Jira Link: DB-11092

Description

If you look at a postgresql-<datetime>.log file, you will see a mix of log formats:

2024-04-18 18:13:34.026 PDT [29478] LOG:  database system is ready to accept connections
I0418 18:13:52.774502 3820396800 mem_tracker.cc:254] Creating root MemTracker with garbage collection threshold 5242880 bytes

The first line comes from postgresql logging, the second comes from pggate and is in glog format. It would be nice if these were uniform. Perhaps we could standardize the glog format because our other logs, such as for yb-tserver and yb-master, are glog.

Issue Type

kind/enhancement

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@foucher foucher added area/ysql Yugabyte SQL (YSQL) status/awaiting-triage Issue awaiting triage labels Apr 25, 2024
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage
Projects
None yet
Development

No branches or pull requests

2 participants