different kind of logging
parent
5cef333c4a
commit
71aa900a85
3
robot.py
3
robot.py
|
@ -16,8 +16,7 @@ DIR = os.path.dirname(os.path.realpath(__file__))
|
|||
TMP_DIR = '/tmp'
|
||||
OUT_DIR = DIR + '/out'
|
||||
|
||||
logging.basicConfig(filename=OUT_DIR + '/delojza.log',
|
||||
level=logging.INFO,
|
||||
logging.basicConfig(level=logging.INFO,
|
||||
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
logger = logging.getLogger("kunsax")
|
||||
|
||||
|
|
Loading…
Reference in New Issue