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

Commite5d93f0

Browse files
committed
Fix help for logging parameters
1 parent726c080 commite5d93f0

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

‎help.c

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,13 @@ help_pg_probackup(void)
6161

6262
printf(_("\n %s set-config -B backup-dir\n"),PROGRAM_NAME);
6363
printf(_(" [-d dbname] [-h host] [-p port] [-U username]\n"));
64-
printf(_(" [--retention-redundancy=retention-redundancy]]\n"));
64+
printf(_(" [--log-level=log-level]\n"));
65+
printf(_(" [--log-filename=log-filename]\n"));
66+
printf(_(" [--error-log-filename=error-log-filename]\n"));
67+
printf(_(" [--log-directory=log-directory]\n"));
68+
printf(_(" [--log-rotation-size=log-rotation-size]\n"));
69+
printf(_(" [--log-rotation-age=log-rotation-age]\n"));
70+
printf(_(" [--retention-redundancy=retention-redundancy]\n"));
6571
printf(_(" [--retention-window=retention-window]\n"));
6672

6773
printf(_("\n %s show-config -B backup-dir\n"),PROGRAM_NAME);
@@ -210,7 +216,13 @@ help_set_config(void)
210216
{
211217
printf(_("%s set-config -B backup-dir\n"),PROGRAM_NAME);
212218
printf(_(" [-d dbname] [-h host] [-p port] [-U username]\n"));
213-
printf(_(" [--retention-redundancy=retention-redundancy]]\n"));
219+
printf(_(" [--log-level=log-level]\n"));
220+
printf(_(" [--log-filename=log-filename]\n"));
221+
printf(_(" [--error-log-filename=error-log-filename]\n"));
222+
printf(_(" [--log-directory=log-directory]\n"));
223+
printf(_(" [--log-rotation-size=log-rotation-size]\n"));
224+
printf(_(" [--log-rotation-age=log-rotation-age]\n"));
225+
printf(_(" [--retention-redundancy=retention-redundancy]\n"));
214226
printf(_(" [--retention-window=retention-window]\n\n"));
215227

216228
printf(_(" -B, --backup-path=backup-path location of the backup storage area\n"));
@@ -221,6 +233,18 @@ help_set_config(void)
221233
printf(_(" -p, --port=PORT database server port\n"));
222234
printf(_(" -U, --username=USERNAME user name to connect as\n"));
223235

236+
printf(_("\n Logging options:\n"));
237+
printf(_(" --log-level=log-level controls which message levels are sent to the log\n"));
238+
printf(_(" --log-filename=log-filename file names of the created log files which is treated as as strftime pattern\n"));
239+
printf(_(" --error-log-filename=error-log-filename\n"));
240+
printf(_(" file names of the created log files for error messages\n"));
241+
printf(_(" --log-directory=log-directory\n"));
242+
printf(_(" directory in which log files will be created\n"));
243+
printf(_(" --log-rotation-size=log-rotation-size\n"));
244+
printf(_(" maximum size of an individual log file in kilobytes\n"));
245+
printf(_(" --log-rotation-age=log-rotation-age\n"));
246+
printf(_(" maximum lifetime of an individual log file in minutes\n"));
247+
224248
printf(_("\n Retention options:\n"));
225249
printf(_(" --retention-redundancy=retention-redundancy\n"));
226250
printf(_(" number of full backups to keep\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp