mirror of
https://github.com/openkmip/pykmip
synced 2025-12-24 04:04:20 +00:00
Updating client and demo logging
This change updates various logging statements for the KMIP client and demo suites, ensuring that the default logging level for the library is at the INFO level and that all demo logging is at the INFO level.
This commit is contained in:
@@ -72,13 +72,13 @@ if __name__ == '__main__':
|
||||
client.close()
|
||||
|
||||
# Display operation results
|
||||
logger.debug('destroy() result status: {0}'.format(
|
||||
logger.info('destroy() result status: {0}'.format(
|
||||
result.result_status.enum))
|
||||
|
||||
if result.result_status.enum == ResultStatus.SUCCESS:
|
||||
logger.debug('destroyed UUID: {0}'.format(result.uuid.value))
|
||||
logger.info('destroyed UUID: {0}'.format(result.uuid.value))
|
||||
else:
|
||||
logger.debug('destroy() result reason: {0}'.format(
|
||||
logger.info('destroy() result reason: {0}'.format(
|
||||
result.result_reason.enum))
|
||||
logger.debug('destroy() result message: {0}'.format(
|
||||
logger.info('destroy() result message: {0}'.format(
|
||||
result.result_message.value))
|
||||
|
||||
Reference in New Issue
Block a user