From 29706fb13ba99b4309c2004668e952d997f25d5f Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 11 Feb 2011 17:24:20 -0500 Subject: Add default success/failure output logging. Request logging on the server only happened if you added verbose=True or debug=True to the IPA config file. We should log the basics at least: who, what, result. Move a lot of entries from info to debug logging as well. Related to ticket 873 --- ipalib/backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipalib/backend.py') diff --git a/ipalib/backend.py b/ipalib/backend.py index ad45238d..2262e922 100644 --- a/ipalib/backend.py +++ b/ipalib/backend.py @@ -62,7 +62,7 @@ class Connectible(Backend): conn = self.create_connection(*args, **kw) setattr(context, self.id, Connection(conn, self.disconnect)) assert self.conn is conn - self.info('Created connection context.%s' % self.id) + self.debug('Created connection context.%s' % self.id) def create_connection(self, *args, **kw): raise NotImplementedError('%s.create_connection()' % self.id) @@ -76,7 +76,7 @@ class Connectible(Backend): ) self.destroy_connection() delattr(context, self.id) - self.info('Destroyed connection context.%s' % self.id) + self.debug('Destroyed connection context.%s' % self.id) def destroy_connection(self): raise NotImplementedError('%s.destroy_connection()' % self.id) -- cgit