From ed356e8e5f160c0626a4c2dcdb85d374cb3fd079 Mon Sep 17 00:00:00 2001 From: Gilles Darold Date: Fri, 9 Nov 2018 13:17:54 +0100 Subject: [PATCH] Add information in usage output about single process forcing with csvlog format in -j and -J options. Thanks to cstdenis for the report. --- README | 8 ++++---- doc/pgBadger.pod | 8 ++++---- pgbadger | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README b/README index d8a3388..40d1760 100644 --- a/README +++ b/README @@ -33,10 +33,10 @@ SYNOPSIS -i | --ident name : programname used as syslog ident. Default: postgres -I | --incremental : use incremental mode, reports will be generated by days in a separate directory, --outdir must be set. - -j | --jobs number : number of jobs to run at same time. Default is 1, - run as single process. - -J | --Jobs number : number of log file to parse in parallel. Default - is 1, run as single process. + -j | --jobs number : number of jobs to run at same time. Run as single + by default or when working with csvlog. + -J | --Jobs number : number of log file to parse in parallel. Process one + file at a time by default or when csvlog is used. -l | --last-parsed file: allow incremental log parsing by registering the last datetime and line parsed. Useful if you want to watch errors since last run or if you want one diff --git a/doc/pgBadger.pod b/doc/pgBadger.pod index aaeeb1b..9ec5add 100644 --- a/doc/pgBadger.pod +++ b/doc/pgBadger.pod @@ -35,10 +35,10 @@ Options: -i | --ident name : programname used as syslog ident. Default: postgres -I | --incremental : use incremental mode, reports will be generated by days in a separate directory, --outdir must be set. - -j | --jobs number : number of jobs to run at same time. Default is 1, - run as single process. - -J | --Jobs number : number of log file to parse in parallel. Default - is 1, run as single process. + -j | --jobs number : number of jobs to run at same time. Run as single + by default or when working with csvlog. + -J | --Jobs number : number of log file to parse in parallel. Process one + file at a time by default or when csvlog is used. -l | --last-parsed file: allow incremental log parsing by registering the last datetime and line parsed. Useful if you want to watch errors since last run or if you want one diff --git a/pgbadger b/pgbadger index 30c8bf6..e20c3da 100755 --- a/pgbadger +++ b/pgbadger @@ -1724,10 +1724,10 @@ Options: -i | --ident name : programname used as syslog ident. Default: postgres -I | --incremental : use incremental mode, reports will be generated by days in a separate directory, --outdir must be set. - -j | --jobs number : number of jobs to run at same time. Default is 1, - run as single process. - -J | --Jobs number : number of log file to parse in parallel. Default - is 1, run as single process. + -j | --jobs number : number of jobs to run at same time. Run as single + by default or when working with csvlog. + -J | --Jobs number : number of log file to parse in parallel. Process one + file at a time by default or when csvlog is used. -l | --last-parsed file: allow incremental log parsing by registering the last datetime and line parsed. Useful if you want to watch errors since last run or if you want one -- 2.40.0