scripts/lib/scripts/helloworld.py
Vincent Le Gallic 31bb376741 Correction des import crans.utils partout
Ça semble provoquer des erreurs d'import, donc autant tout corriger
2013-05-07 21:34:09 +02:00

13 lines
322 B
Python

import logging
import sys
sys.path.append('/usr/scripts/')
from lib.utils.logs import getFileLogger
#LOGGER = logging.getLogger("crans.scripts.test")
LOGGER = getFileLogger("helloworld")
LOGGER.setLevel(logging.INFO)
LOGGER.addHandler(logging.StreamHandler())
if __name__ == "__main__":
LOGGER.info(u"Hello World")