|
|
ced1f5 |
From 65e47ac92a16c57058b955fe9ec2e17b838a37db Mon Sep 17 00:00:00 2001
|
|
|
ced1f5 |
From: Lukas Slebodnik <lslebodn@redhat.com>
|
|
|
ced1f5 |
Date: Tue, 24 Oct 2017 12:07:46 +0200
|
|
|
ced1f5 |
Subject: [PATCH 20/21] UTIL: Hide and deprecate parameter --debug-to-files
|
|
|
ced1f5 |
MIME-Version: 1.0
|
|
|
ced1f5 |
Content-Type: text/plain; charset=UTF-8
|
|
|
ced1f5 |
Content-Transfer-Encoding: 8bit
|
|
|
ced1f5 |
|
|
|
ced1f5 |
Reviewed-by: Justin Stephenson <jstephen@redhat.com>
|
|
|
ced1f5 |
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
|
|
|
ced1f5 |
(cherry picked from commit 18a47bcc463c866de6b6b0327e6d85ceb1e0f7d6)
|
|
|
ced1f5 |
---
|
|
|
ced1f5 |
src/man/sssd.8.xml | 4 ++++
|
|
|
ced1f5 |
src/util/debug.h | 2 +-
|
|
|
ced1f5 |
2 files changed, 5 insertions(+), 1 deletion(-)
|
|
|
ced1f5 |
|
|
|
ced1f5 |
diff --git a/src/man/sssd.8.xml b/src/man/sssd.8.xml
|
|
|
ced1f5 |
index 0b725628ff93f48f832140dd5dc15b040a8b179f..f2cbe015b844579af98aebd864770bc651dcf4b1 100644
|
|
|
ced1f5 |
--- a/src/man/sssd.8.xml
|
|
|
ced1f5 |
+++ b/src/man/sssd.8.xml
|
|
|
ced1f5 |
@@ -90,6 +90,10 @@
|
|
|
ced1f5 |
log files are stored in <filename>/var/log/sssd</filename> and
|
|
|
ced1f5 |
there are separate log files for every SSSD service and domain.
|
|
|
ced1f5 |
</para>
|
|
|
ced1f5 |
+ <para>
|
|
|
ced1f5 |
+ This option is deprecated. It is replaced by
|
|
|
ced1f5 |
+ <option>--logger=files</option>.
|
|
|
ced1f5 |
+ </para>
|
|
|
ced1f5 |
</listitem>
|
|
|
ced1f5 |
</varlistentry>
|
|
|
ced1f5 |
<varlistentry>
|
|
|
ced1f5 |
diff --git a/src/util/debug.h b/src/util/debug.h
|
|
|
ced1f5 |
index 4adafb7cfc03f7381c4d03071eb44edad04bee00..09f50cc9f3122f02d8ba2092dfb7ee633332de9b 100644
|
|
|
ced1f5 |
--- a/src/util/debug.h
|
|
|
ced1f5 |
+++ b/src/util/debug.h
|
|
|
ced1f5 |
@@ -101,7 +101,7 @@ int get_fd_from_debug_file(void);
|
|
|
ced1f5 |
#define SSSD_DEBUG_OPTS \
|
|
|
ced1f5 |
{"debug-level", 'd', POPT_ARG_INT, &debug_level, 0, \
|
|
|
ced1f5 |
_("Debug level"), NULL}, \
|
|
|
ced1f5 |
- {"debug-to-files", 'f', POPT_ARG_NONE, &debug_to_file, 0, \
|
|
|
ced1f5 |
+ {"debug-to-files", 'f', POPT_ARG_NONE | POPT_ARGFLAG_DOC_HIDDEN, &debug_to_file, 0, \
|
|
|
ced1f5 |
_("Send the debug output to files instead of stderr"), NULL }, \
|
|
|
ced1f5 |
{"debug-to-stderr", 0, POPT_ARG_NONE | POPT_ARGFLAG_DOC_HIDDEN, &debug_to_stderr, 0, \
|
|
|
ced1f5 |
_("Send the debug output to stderr directly."), NULL }, \
|
|
|
ced1f5 |
--
|
|
|
ced1f5 |
2.13.5
|
|
|
ced1f5 |
|