cleanup logger stuff, remove more path stuff from cdist bin

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-09-26 10:28:57 +02:00
commit e6a903fd96
3 changed files with 2 additions and 15 deletions

View file

@ -35,8 +35,7 @@ CODE_HEADER = "#!/bin/sh -e\n"
DOT_CDIST = ".cdist"
TYPE_PREFIX = "__"
logging.basicConfig(level=logging.INFO, format='%(levelname)s: %(message)s')
log = logging.getLogger()
log = logging.getLogger(__name__)
import cdist.exec