From: Hannes Reinecke <[email protected]>

Add option 'all' for debugging so we don't have to remember all
possible debugging options.

Signed-off-by: Hannes Reinecke <[email protected]>
---
 utils/open-isns/logging.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/utils/open-isns/logging.c b/utils/open-isns/logging.c
index 63ebbefea5d1..c3edc360298f 100644
--- a/utils/open-isns/logging.c
+++ b/utils/open-isns/logging.c
@@ -168,6 +168,8 @@ isns_enable_debugging(const char *what)
                        debugging |= (1 << DBG_SCN);
                else if (!strcmp(s, "esi"))
                        debugging |= (1 << DBG_ESI);
+               else if (!strcmp(s, "all"))
+                       debugging = (unsigned int)-1;
                else {
                        isns_error("Ignoring unknown isns_debug facility 
<<%s>>\n",
                                        s);
-- 
2.1.2

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to