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

Improve compute.log readability #4430

Open
lubennikovaav opened this issue Jun 6, 2023 · 1 comment
Open

Improve compute.log readability #4430

lubennikovaav opened this issue Jun 6, 2023 · 1 comment
Labels
a/tech_debt Area: related to tech debt c/compute Component: compute, excluding postgres itself

Comments

@lubennikovaav
Copy link
Contributor

Now we merge compute_ctl and postrgesql logs into one stream.

in both prod and pytest environments

It is sometimes convenient to have them in chronological order - if they were separate logs you'd need to open both logs and compare the timestamps.

But this complicates debugging postgresql issues.
Also this blocks issues about showing postgresql logs to user such as #4075

Let's discuss possible improvements

  • split log streams
  • write postgresql log to both logfile and stderr (merged stream)
  • improve log message style (format, prefixes etc)

cc: @MMeent, @hlinnaka

@lubennikovaav lubennikovaav added a/tech_debt Area: related to tech debt c/compute Component: compute, excluding postgres itself labels Jun 6, 2023
@Omrigan
Copy link
Contributor

Omrigan commented Jan 31, 2024

See also neondatabase/autoscaling#578

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a/tech_debt Area: related to tech debt c/compute Component: compute, excluding postgres itself
Projects
None yet
Development

No branches or pull requests

2 participants