summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-03-08 15:10:52 +0100
committerWerner Koch <wk@gnupg.org>2023-03-08 15:10:52 +0100
commitd2d1db88608349bbe00da3adabddc167f6852f9e (patch)
tree435c773a755458a1e7418e0782055be98da1e015 /doc
parentdirmngr: Minor code cleanup in the CRL cache. (diff)
downloadgnupg2-d2d1db88608349bbe00da3adabddc167f6852f9e.tar.xz
gnupg2-d2d1db88608349bbe00da3adabddc167f6852f9e.zip
gpg,gpgsm: New option --log-time
* g10/gpg.c (oLogTime): New. (opts): Add "log-time". (opt_log_time): New var. (main): Implement. * sm/gpgsm.c (oLogTime): New. (opts): Add "log-time". (opt_log_time): New var. (main): Implement.
Diffstat (limited to 'doc')
-rw-r--r--doc/gpg.texi4
-rw-r--r--doc/gpgsm.texi4
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 01b91abec..a6ab4d57d 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -3199,6 +3199,10 @@ Write log output to file descriptor @var{n} and not to STDERR.
Same as @option{--logger-fd}, except the logger data is written to
file @var{file}. Use @file{socket://} to log to s socket.
+@item --log-time
+@opindex log-time
+Prefix all log output with a timestamp even if no log file is used.
+
@item --attribute-fd @var{n}
@opindex attribute-fd
Write attribute subpackets to the file descriptor @var{n}. This is most
diff --git a/doc/gpgsm.texi b/doc/gpgsm.texi
index 42090a93f..a117009bd 100644
--- a/doc/gpgsm.texi
+++ b/doc/gpgsm.texi
@@ -408,6 +408,10 @@ Do not print a warning when the so called "secure memory" cannot be used.
When running in server mode, append all logging output to @var{file}.
Use @file{socket://} to log to socket.
+@item --log-time
+@opindex log-time
+Prefix all log output with a timestamp even if no log file is used.
+
@end table