[389-devel] Please review (revised): [Bug 194531] db2bak is too noisy

Noriko Hosoi nhosoi at redhat.com
Mon Aug 9 23:45:58 UTC 2010


https://bugzilla.redhat.com/show_bug.cgi?id=194531

https://bugzilla.redhat.com/attachment.cgi?id=437730&action=diff
https://bugzilla.redhat.com/attachment.cgi?id=437730&action=edit

Thanks to Nathan for his comments to the previous proposal.  Based upon the
discussion with him, changed the spec as follows:
1) leave the db2bak/bak2db's behaviour intact (verbose by default)
2) introduced a suppress option "-q" not to send the verbose messages to the
standard error, but just to the errors log.

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.




More information about the 389-devel mailing list