diff options
Diffstat (limited to 'ipaserver/install/ntpinstance.py')
-rw-r--r-- | ipaserver/install/ntpinstance.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ipaserver/install/ntpinstance.py b/ipaserver/install/ntpinstance.py index 00217c390..e1b72dda5 100644 --- a/ipaserver/install/ntpinstance.py +++ b/ipaserver/install/ntpinstance.py @@ -18,12 +18,11 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -import logging - import service from ipapython import sysrestore from ipapython import ipautil from ipapython import services as ipaservices +from ipapython.ipa_log_manager import * class NTPInstance(service.Service): def __init__(self, fstore=None): @@ -171,7 +170,7 @@ class NTPInstance(service.Service): try: self.fstore.restore_file("/etc/ntp.conf") except ValueError, error: - logging.debug(error) + root_logger.debug(error) pass if not enabled is None and not enabled: |