Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Rotate log?#1306

YouveGotMeowxy started this conversation inGeneral
Jan 5, 2025· 1 comment
Discussion options

Apologies if this is a newbie question, but I just noticed my Postgres container made a 22GB postgresql.log file. Is there a way to rotate them at a max size, and also only keep x number of rotated logs?

You must be logged in to vote

Replies: 1 comment

Comment options

You probably need to set your configuration:
https://www.postgresql.org/docs/current/runtime-config-logging.html#:~:text=The%20default%20is%2010%20megabytes,on%20the%20server%20command%20line.

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@YouveGotMeowxy@LaurentGoderre
Converted from issue

This discussion was converted from issue #1305 on January 06, 2025 14:51.


[8]ページ先頭

©2009-2025 Movatter.jp