Commit 7b9e8b03 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Renamed logging.py to deployitlogging.py

parent 3b08bac0
......@@ -2,11 +2,11 @@
import os.path
import deployit.config
import deployit.logging
import deployit.deployitlogging
import ConfigParser
import logging
logger = logging.getLogger(deployit.logging.logger_name)
logger = logging.getLogger(deployit.deployitlogging.logger_name)
class ModuleConfig(object):
def __init__(self, modulename):
......
......@@ -2,7 +2,7 @@
import deployit.message
import deployit.modules
import deployit.rabbit
import deployit.logging
import deployit.deployitlogging
import json
import logging
import os
......@@ -10,7 +10,7 @@ import pika
import threading
import time
logger = logging.getLogger(deployit.logging.logger_name)
logger = logging.getLogger(deployit.deployitlogging.logger_name)
class RabbitModule(deployit.Module):
"""Base class for Management Agents
......
......@@ -2,9 +2,9 @@ import shutil
import datetime
import logging
import os
import deployit.logging
import deployit.deployitlogging
logger = logging.getLogger(deployit.logging.logger_name)
logger = logging.getLogger(deployit.deployitlogging.logger_name)
class BackupFile(object):
"""Create a backup files
......
......@@ -6,9 +6,9 @@ import logging
import re
import shutil
import subprocess
import deployit.logging
import deployit.deployitlogging
logger = logging.getLogger(deployit.logging.logger_name)
logger = logging.getLogger(deployit.deployitlogging.logger_name)
class DhcpSyntaxError(Exception):
def __init__(self):
......
......@@ -3,12 +3,12 @@ import subprocess
import managementagent.rabbitmodules
import managementagent.utils
import deployit.logging
import deployit.deployitlogging
__author__ = 'Rafael Ostertag <rafael.ostertag@math.uzh.ch>'
logger = logging.getLogger(deployit.logging.logger_name)
logger = logging.getLogger(deployit.deployitlogging.logger_name)
class EmailList(managementagent.RabbitModule):
......
......@@ -4,9 +4,9 @@ import os
import subprocess
import logging
import json
import deployit.logging
import deployit.deployitlogging
logger = logging.getLogger(deployit.logging.logger_name)
logger = logging.getLogger(deployit.deployitlogging.logger_name)
class GenericCommand(managementagent.RabbitModule):
"""Handling Generic Command Request"""
......
import managementagent.rabbitmodules
import os
import logging
import deployit.logging
import deployit.deployitlogging
logger = logging.getLogger(deployit.logging.logger_name)
logger = logging.getLogger(deployit.deployitlogging.logger_name)
class Ping(managementagent.RabbitModule):
"""Handling a ping request"""
......
......@@ -8,11 +8,11 @@ import shutil
import subprocess
import pwd
import stat
import deployit.logging
import deployit.deployitlogging
__author__ = 'Rafael Ostertag <rafael.ostertag@math.uzh.ch>'
logger = logging.getLogger(deployit.logging.logger_name )
logger = logging.getLogger(deployit.deployitlogging.logger_name )
def find_process(username, command):
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment