diff options
author | Werner Koch <wk@gnupg.org> | 2023-03-08 15:10:52 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2023-03-08 15:10:52 +0100 |
commit | d2d1db88608349bbe00da3adabddc167f6852f9e (patch) | |
tree | 435c773a755458a1e7418e0782055be98da1e015 /doc | |
parent | dirmngr: Minor code cleanup in the CRL cache. (diff) | |
download | gnupg2-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.texi | 4 | ||||
-rw-r--r-- | doc/gpgsm.texi | 4 |
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 |