mirror of
https://github.com/mightyBroccoli/xmpp-chatbot.git
synced 2024-12-04 22:33:36 +01:00
correct logging parameter
* fix loglevel be set to the correct logging parameter
This commit is contained in:
parent
b6b84108ed
commit
1b13bdfd92
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -170,7 +170,7 @@ if __name__ == '__main__':
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
# logging
|
# logging
|
||||||
logging.basicConfig(filename=args.logfile, level=logging.INFO, format='%(levelname)s: %(asctime)s: %(message)s')
|
logging.basicConfig(filename=args.logfile, level=args.loglevel, format='%(levelname)s: %(asctime)s: %(message)s')
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
# configfile
|
# configfile
|
||||||
|
|
Loading…
Reference in a new issue