Files
sqlmapapi_pi/config.py

19 lines
437 B
Python
Raw Permalink Normal View History

2016-08-02 14:56:15 +08:00
#!/bin/env python
# -*- coding=utf-8 -*-
import logging
API_URL = "http://127.0.0.1:8775"
LEVELS = {'debug': logging.DEBUG,
'info': logging.INFO,
'warning': logging.WARNING,
'error': logging.ERROR,
'critical': logging.CRITICAL}
LOG = {
"level" : LEVELS["debug"],
"filename" : "autosqli.log",
"format" : '[%(asctime)s] %(levelname)-8s %(name)-12s %(message)s',
"datefmt" : '%Y-%m-%d %H:%M:%S'
}