# Path: umit/icm/agent/BasePaths.py
# LOG_DIR = os.path.join(ROOT_DIR, 'log')


import os
from umit.icm.agent.BasePaths import LOG_DIR
from umit.common.UmitLogging import Log

#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

__all__ = ['g_logger']




_levels = {
    'CRITICAL' : 50,
    'FATAL' : 50,
    'ERROR' : 40,
    'WARN' : 30,
    'WARNING' : 30,
    'INFO' : 20,
    'DEBUG' : 10,
    'NOTSET' : 0,
}
LOGLEVEL = 'DEBUG'

print LOG_DIR
#if not os.path.exists(LOG_DIR):
#    os.mkdir(LOG_DIR)

# Path: umit/icm/agent/BasePaths.py
# LOG_DIR = os.path.join(ROOT_DIR, 'log')


# Path: umit/icm/agent/logger.py
import os
from umit.icm.agent.BasePaths import LOG_DIR
from umit.common.UmitLogging import Log

#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

__all__ = ['g_logger']




_levels = {
    'CRITICAL' : 50,
    'FATAL' : 50,
    'ERROR' : 40,
    'WARN' : 30,
    'WARNING' : 30,
    'INFO' : 20,
    'DEBUG' : 10,
    'NOTSET' : 0,
}
LOGLEVEL = 'DEBUG'

print LOG_DIR
#if not os.path.exists(LOG_DIR):
#    os.mkdir(LOG_DIR)

log_path = os.path.join(LOG_DIR, 'icm-desktop.log')
