diff options
author | Ke Zhao <kzhao@redhat.com> | 2019-03-06 13:23:24 -0500 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2019-03-16 19:56:48 +0100 |
commit | 3d123d737412d952148b117c1546367bcbec8af5 (patch) | |
tree | 64c0da672b00fd470d635444e6ad9754a547385b /libdane | |
parent | 9dca575622586e4c94ced9e453ae0a91f346d711 (diff) | |
download | gnutls-3d123d737412d952148b117c1546367bcbec8af5.tar.gz |
gnutls-cli: Add option "--logfile" to redirect information message output
First, add an option "--logfile" so user could choose a specific file to
store all the informational messages. In some cases, informational
messages may cause unexpected result if the output is standard output.
With this option, user could redirect these messages to a specific
file. This will be helpful in testing and tracking.
Second, replace printf() function with log_msg() function
This log_msg() function is used when "--logfile" is enabled.
Third, add a functionality test for "--logfile" option
Add a test script to test if "--logfile" option works as it should be.
Signed-off-by: Ke Zhao <kzhao@redhat.com>
Diffstat (limited to 'libdane')
0 files changed, 0 insertions, 0 deletions