summaryrefslogtreecommitdiff
path: root/libdane
diff options
context:
space:
mode:
authorKe Zhao <kzhao@redhat.com>2019-03-06 13:23:24 -0500
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2019-03-16 19:56:48 +0100
commit3d123d737412d952148b117c1546367bcbec8af5 (patch)
tree64c0da672b00fd470d635444e6ad9754a547385b /libdane
parent9dca575622586e4c94ced9e453ae0a91f346d711 (diff)
downloadgnutls-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