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

[Bug]: since 2.12.0, user-defined actions are too verbose #6161

Closed
jflambert opened this issue Oct 6, 2023 · 15 comments · Fixed by #6188
Closed

[Bug]: since 2.12.0, user-defined actions are too verbose #6161

jflambert opened this issue Oct 6, 2023 · 15 comments · Fixed by #6188
Assignees
Labels
bgw The background worker subsystem, including the scheduler bug debugging Issues related to introduction of or needing debugging support

Comments

@jflambert
Copy link

jflambert commented Oct 6, 2023

What type of bug is this?

Other

What subsystems and features are affected?

Background worker

What happened?

It's minor, but I notice since upgrading to 2.12.0 I have way too many logs from timescaledb

image

Yes we do have a job every 5 seconds. No I don't need to see it being logged so much!

This wasn't a "problem" prior to 2.12.0

TimescaleDB version affected

2.12.0

PostgreSQL version used

13.12

What operating system did you use?

alpine 3.18

What installation method did you use?

Docker

What platform did you run on?

On prem/Self-hosted

Relevant log output and stack trace

2023-10-06 15:39:51.793 UTC [@:34013] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 302.94 ms
2023-10-06 15:39:56.764 UTC [@:34049] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 277.23 ms
2023-10-06 15:40:01.883 UTC [@:34080] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 389.88 ms
2023-10-06 15:40:06.804 UTC [@:34119] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 316.72 ms
2023-10-06 15:40:11.832 UTC [@:34149] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 340.74 ms
2023-10-06 15:40:16.803 UTC [@:34185] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 310.62 ms
2023-10-06 15:40:21.779 UTC [@:34235] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 294.35 ms
2023-10-06 15:40:26.756 UTC [@:34271] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 265.49 ms
2023-10-06 15:40:31.755 UTC [@:34301] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 270.11 ms
2023-10-06 15:40:36.826 UTC [@:34339] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 335.94 ms
2023-10-06 15:40:41.850 UTC [@:34369] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 360.60 ms
2023-10-06 15:40:46.860 UTC [@:34405] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 368.93 ms
2023-10-06 15:40:51.830 UTC [@:34437] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 342.87 ms
2023-10-06 15:40:56.786 UTC [@:34472] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 295.80 ms
2023-10-06 15:41:01.791 UTC [@:34506] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 305.69 ms
2023-10-06 15:41:06.742 UTC [@:34544] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 257.10 ms
2023-10-06 15:41:11.790 UTC [@:34575] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 299.96 ms
2023-10-06 15:41:16.793 UTC [@:34611] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 305.22 ms
2023-10-06 15:41:21.758 UTC [@:34641] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 268.87 ms
2023-10-06 15:41:26.804 UTC [@:34677] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 314.27 ms
2023-10-06 15:41:31.784 UTC [@:34707] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 298.54 ms
2023-10-06 15:41:36.764 UTC [@:34744] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 274.59 ms
2023-10-06 15:41:41.768 UTC [@:34784] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 278.69 ms
2023-10-06 15:41:46.828 UTC [@:34820] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 337.17 ms
2023-10-06 15:41:51.735 UTC [@:34848] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 245.13 ms
2023-10-06 15:41:56.754 UTC [@:34884] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 264.72 ms
2023-10-06 15:42:01.866 UTC [@:34916] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 376.78 ms
2023-10-06 15:42:06.806 UTC [@:34954] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 312.72 ms
2023-10-06 15:42:11.773 UTC [@:34985] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 284.12 ms
2023-10-06 15:42:16.827 UTC [@:35021] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 339.07 ms
2023-10-06 15:42:21.738 UTC [@:35052] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 251.31 ms
2023-10-06 15:42:26.817 UTC [@:35087] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 330.82 ms
2023-10-06 15:42:31.748 UTC [@:35118] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 255.25 ms
2023-10-06 15:42:36.801 UTC [@:35157] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 310.82 ms
2023-10-06 15:42:41.752 UTC [@:35187] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 263.12 ms
2023-10-06 15:42:46.788 UTC [@:35223] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 298.36 ms
2023-10-06 15:42:51.780 UTC [@:35253] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 288.78 ms
2023-10-06 15:42:56.806 UTC [@:35292] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 316.73 ms
2023-10-06 15:43:01.766 UTC [@:35322] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 277.04 ms
2023-10-06 15:43:06.780 UTC [@:35358] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 293.41 ms
2023-10-06 15:43:11.800 UTC [@:35389] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 310.85 ms
2023-10-06 15:43:16.775 UTC [@:35425] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 282.80 ms
2023-10-06 15:43:21.816 UTC [@:35456] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 326.13 ms
2023-10-06 15:43:26.849 UTC [@:35492] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 358.26 ms
2023-10-06 15:43:31.850 UTC [@:35521] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 362.16 ms
2023-10-06 15:43:36.730 UTC [@:35558] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 243.37 ms
2023-10-06 15:43:41.876 UTC [@:35588] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 385.76 ms
2023-10-06 15:43:46.753 UTC [@:35624] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 264.61 ms
2023-10-06 15:43:51.842 UTC [@:35652] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 348.73 ms
2023-10-06 15:43:56.823 UTC [@:35688] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 331.00 ms
2023-10-06 15:44:01.875 UTC [@:35722] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 379.73 ms
2023-10-06 15:44:06.770 UTC [@:35761] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 278.88 ms
2023-10-06 15:44:11.795 UTC [@:35790] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 302.91 ms
2023-10-06 15:44:16.752 UTC [@:35828] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 261.51 ms
2023-10-06 15:44:21.782 UTC [@:35857] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 294.86 ms
2023-10-06 15:44:26.787 UTC [@:35894] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 296.94 ms
2023-10-06 15:44:31.810 UTC [@:35923] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 319.46 ms
2023-10-06 15:44:36.813 UTC [@:35961] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 325.68 ms
2023-10-06 15:44:41.815 UTC [@:36000] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 324.64 ms
2023-10-06 15:44:46.757 UTC [@:36037] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 270.43 ms
2023-10-06 15:44:51.785 UTC [@:36068] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 295.63 ms
2023-10-06 15:44:56.807 UTC [@:36103] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 316.82 ms
2023-10-06 15:45:01.860 UTC [@:36134] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 371.17 ms
2023-10-06 15:45:06.743 UTC [@:36172] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 254.16 ms
2023-10-06 15:45:11.804 UTC [@:36202] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 315.38 ms
2023-10-06 15:45:16.820 UTC [@:36237] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 328.67 ms
2023-10-06 15:45:21.816 UTC [@:36267] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 329.05 ms
2023-10-06 15:45:26.851 UTC [@:36322] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 359.60 ms
2023-10-06 15:45:31.743 UTC [@:36352] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 254.30 ms
2023-10-06 15:45:36.742 UTC [@:36389] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 254.49 ms
2023-10-06 15:45:41.840 UTC [@:36420] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 349.67 ms
2023-10-06 15:45:46.793 UTC [@:36455] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 303.28 ms
2023-10-06 15:45:51.805 UTC [@:36492] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 314.82 ms
2023-10-06 15:45:56.761 UTC [@:36527] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 271.75 ms
2023-10-06 15:46:01.942 UTC [@:36560] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 450.86 ms
2023-10-06 15:46:06.769 UTC [@:36598] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 276.57 ms
2023-10-06 15:46:11.825 UTC [@:36628] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 336.36 ms
2023-10-06 15:46:16.787 UTC [@:36664] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 295.82 ms
2023-10-06 15:46:21.910 UTC [@:36694] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 418.90 ms
2023-10-06 15:46:26.867 UTC [@:36731] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 380.33 ms
2023-10-06 15:46:31.808 UTC [@:36764] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 317.86 ms
2023-10-06 15:46:36.759 UTC [@:36802] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 269.35 ms
2023-10-06 15:46:41.809 UTC [@:36832] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 318.07 ms
2023-10-06 15:46:46.838 UTC [@:36868] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 350.32 ms
2023-10-06 15:46:51.790 UTC [@:36900] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 300.41 ms
2023-10-06 15:46:56.781 UTC [@:36936] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 289.53 ms
2023-10-06 15:47:01.864 UTC [@:36969] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 376.58 ms
2023-10-06 15:47:06.782 UTC [@:37006] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 291.71 ms
2023-10-06 15:47:11.783 UTC [@:37037] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 296.31 ms
2023-10-06 15:47:16.770 UTC [@:37073] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 279.69 ms
2023-10-06 15:47:21.755 UTC [@:37104] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 269.74 ms
2023-10-06 15:47:26.779 UTC [@:37140] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 286.32 ms
2023-10-06 15:47:31.804 UTC [@:37170] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 313.31 ms
2023-10-06 15:47:36.747 UTC [@:37207] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 258.81 ms
2023-10-06 15:47:41.822 UTC [@:37246] LOG:  job 1003 (User-Defined Action [1003]) exiting with success: execution time 332.38 ms

How can we reproduce the bug?

create a user job, have it run every 5 seconds, notice overwhelming output in pg logs
@jflambert jflambert added the bug label Oct 6, 2023
@jflambert
Copy link
Author

I recommend changing from LOG to INFO or even DEBUG.

My log_min_messages value is WARNING like most decent human beings.

I don't want to have to change it. LOG is actually above WARNING!

image

@mahipv
Copy link
Contributor

mahipv commented Oct 9, 2023

This is added as part of the enhancement request #5876

@mkindahl
Copy link
Contributor

mkindahl commented Oct 9, 2023

I recommend changing from LOG to INFO or even DEBUG.

My log_min_messages value is WARNING like most decent human beings.

I don't want to have to change it. LOG is actually above WARNING!

Hi @jflambert! This is a reasonable request.

Since it is necessary to be able to debug background workers (a notoriously difficult area to debug) we probably need to add a GUC to be able to tweak the log level of the jobs and the scheduler without having to restart the server.

@jflambert
Copy link
Author

@mkindahl any chance this could be in 2.12.1, I see it's being worked on

otherwise I will have to rollback to 2.11.2, this is too annoying

mkindahl added a commit to mkindahl/timescaledb that referenced this issue Oct 12, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

Fixes timescale#6161
mkindahl added a commit to mkindahl/timescaledb that referenced this issue Oct 12, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
@mkindahl mkindahl self-assigned this Oct 12, 2023
@mkindahl mkindahl added bgw The background worker subsystem, including the scheduler debugging Issues related to introduction of or needing debugging support labels Oct 12, 2023
@mkindahl
Copy link
Contributor

@mkindahl any chance this could be in 2.12.1, I see it's being worked on

otherwise I will have to rollback to 2.11.2, this is too annoying

@jflambert Sorry, but it is not likely to be in 2.12.1: the release is already cut. It will be available in the release after that.

mkindahl added a commit to mkindahl/timescaledb that referenced this issue Oct 12, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
mkindahl added a commit to mkindahl/timescaledb that referenced this issue Oct 12, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
mkindahl added a commit to mkindahl/timescaledb that referenced this issue Oct 12, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
@jflambert
Copy link
Author

jflambert commented Oct 12, 2023

OK @mkindahl I'll wait patiently for the fix, since I see you already have a PR for it. Thank you.

Forgive my ignorance, but will I (as an enduser) have to do anything in my deployments?

@mkindahl
Copy link
Contributor

OK @mkindahl I'll wait patiently for the fix, since I see you already have a PR for it. Thank you.

Forgive my ignorance, but will I (as an enduser) have to do anything in my deployments?

No, I don't think so. I am lowering the log level of the offending message and adding support for setting this for the background workers, but the default is the same as for log_min_messages.

@jflambert
Copy link
Author

This will also take care of retention policy jobs right?

image

@mkindahl
Copy link
Contributor

This will also take care of retention policy jobs right?

It should be all policies. The printout was for all jobs and that is changed to DEBUG1 instead of LOG.

mkindahl added a commit to mkindahl/timescaledb that referenced this issue Oct 13, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
mkindahl added a commit to mkindahl/timescaledb that referenced this issue Oct 16, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
mkindahl added a commit to mkindahl/timescaledb that referenced this issue Oct 16, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
mkindahl added a commit to mkindahl/timescaledb that referenced this issue Oct 16, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
mkindahl added a commit to mkindahl/timescaledb that referenced this issue Oct 16, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
mkindahl added a commit to mkindahl/timescaledb that referenced this issue Oct 16, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
mkindahl added a commit to mkindahl/timescaledb that referenced this issue Oct 17, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
mkindahl added a commit that referenced this issue Oct 17, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes #6161
@jflambert
Copy link
Author

jflambert commented Oct 20, 2023

@mkindahl I see 2.12.2 is out today but my issue is not part of the release notes?

image

@mkindahl
Copy link
Contributor

@jflambert The above was an unplanned fast-tracked release with minimal changes. This fix will be out with the next minor release 2.13.

jnidzwetzki pushed a commit to jnidzwetzki/timescaledb that referenced this issue Nov 9, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
jnidzwetzki pushed a commit to jnidzwetzki/timescaledb that referenced this issue Nov 19, 2023
To avoid having to spam the log with unecessary background worker
progress messages a GUC for controlling the background worker log level
is introduced. This can be set using `ALTER SYSTEM` plus a call of
`pg_reload_conf()` and will set the `log_min_messages` for the
background workers only (scheduler and all job runners).

It also adds some additional job progress messages at debug level.

Fixes timescale#6161
@jflambert
Copy link
Author

Hi @mkindahl can confirm v2.13.0 fixes my logging issues. thanks.

@mkindahl
Copy link
Contributor

Hi @mkindahl can confirm v2.13.0 fixes my logging issues. thanks.

Thanks for confirming @jflambert !

@jflambert
Copy link
Author

Hi @mkindahl looks like I still get some logging for retention policy jobs in 2.13.1

image

@mkindahl
Copy link
Contributor

Hi @mkindahl looks like I still get some logging for retention policy jobs in 2.13.1

image

Thanks @jflambert , will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bgw The background worker subsystem, including the scheduler bug debugging Issues related to introduction of or needing debugging support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants