diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2010-08-09 16:14:19 -0700 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-08-10 09:29:41 -0700 |
commit | 9f07f9d751b23bb51792387dd264549f3dab9038 (patch) | |
tree | 2ddb7d2eb2e188e3b6842e8f5e73b914fc7f7ffd /ldap/servers/slapd/log.c | |
parent | 8fa94a3d74357bcdf75c7c5d5a9a0fc7f6a13caf (diff) | |
download | ds-9f07f9d751b23bb51792387dd264549f3dab9038.tar.gz ds-9f07f9d751b23bb51792387dd264549f3dab9038.tar.xz ds-9f07f9d751b23bb51792387dd264549f3dab9038.zip |
Bug 194531 - db2bak is too noisy
https://bugzilla.redhat.com/show_bug.cgi?id=194531
Description: Introduced "-q" option to suppress the backing up/
restoring message for each db file.
Usage: db2bak [archivedir] [-q] [-h]
Usage: bak2db archivedir [-n backendname] [-q] | [-h]
If "-q" is specified, the verbose messages are not prited to
the standard error, but just to the errors log.
In addition, new log level SLAPI_LOG_BACKLDBM/LDAP_DEBUG_BACKLDBM
has been introduced.
Diffstat (limited to 'ldap/servers/slapd/log.c')
-rw-r--r-- | ldap/servers/slapd/log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/servers/slapd/log.c b/ldap/servers/slapd/log.c index 328002da..8ca7297d 100644 --- a/ldap/servers/slapd/log.c +++ b/ldap/servers/slapd/log.c @@ -102,6 +102,7 @@ static int slapi_log_map[] = { LDAP_DEBUG_PLUGIN, /* SLAPI_LOG_PLUGIN */ LDAP_DEBUG_TIMING, /* SLAPI_LOG_TIMING */ LDAP_DEBUG_ACLSUMMARY, /* SLAPI_LOG_ACLSUMMARY */ + LDAP_DEBUG_BACKLDBM, /* SLAPI_LOG_BACKLDBM */ }; #define SLAPI_LOG_MIN SLAPI_LOG_FATAL /* from slapi-plugin.h */ |