From fdcdf4de834a574745d56e6d5d9a94bd0886fff6 Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 14 Dec 2003 03:59:16 +0000 Subject: [PATCH] change default debug level to a more reasonable production setting --- lnet/lnet/api-init.c | 6 ++++-- lustre/portals/portals/api-init.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lnet/lnet/api-init.c b/lnet/lnet/api-init.c index 020a2a9..b811391 100644 --- a/lnet/lnet/api-init.c +++ b/lnet/lnet/api-init.c @@ -26,8 +26,10 @@ #include int ptl_init; -unsigned int portal_subsystem_debug = ~0 - (S_PORTALS | S_QSWNAL | S_SOCKNAL | S_GMNAL | S_IBNAL); -unsigned int portal_debug = ~0; +unsigned int portal_subsystem_debug = ~0 - (S_PORTALS | S_QSWNAL | S_SOCKNAL | + S_GMNAL | S_IBNAL); +unsigned int portal_debug = (D_WARNING | D_DLMTRACE | D_ERROR | D_EMERG | D_HA | + D_RPCTRACE | D_VFSTRACE); unsigned int portal_cerror = 1; unsigned int portal_printk; unsigned int portal_stack; diff --git a/lustre/portals/portals/api-init.c b/lustre/portals/portals/api-init.c index 020a2a9..b811391 100644 --- a/lustre/portals/portals/api-init.c +++ b/lustre/portals/portals/api-init.c @@ -26,8 +26,10 @@ #include int ptl_init; -unsigned int portal_subsystem_debug = ~0 - (S_PORTALS | S_QSWNAL | S_SOCKNAL | S_GMNAL | S_IBNAL); -unsigned int portal_debug = ~0; +unsigned int portal_subsystem_debug = ~0 - (S_PORTALS | S_QSWNAL | S_SOCKNAL | + S_GMNAL | S_IBNAL); +unsigned int portal_debug = (D_WARNING | D_DLMTRACE | D_ERROR | D_EMERG | D_HA | + D_RPCTRACE | D_VFSTRACE); unsigned int portal_cerror = 1; unsigned int portal_printk; unsigned int portal_stack; -- 1.8.3.1