add logging setup for owrxadmin
This commit is contained in:
parent
7d88d83c36
commit
dd2fda54d1
@ -3,6 +3,9 @@ from owrxadmin.commands import NewUser, DeleteUser, ResetPassword, ListUsers, Di
|
|||||||
import argparse
|
import argparse
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
import traceback
|
||||||
|
import logging
|
||||||
|
|
||||||
|
logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Loading…
Reference in New Issue
Block a user