mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +00:00
logger_example: basicConfig is required
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
1
py-scripts/sandbox/logger_example.py
Normal file → Executable file
1
py-scripts/sandbox/logger_example.py
Normal file → Executable file
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
from random import choice
|
from random import choice
|
||||||
|
logging.basicConfig()
|
||||||
|
|
||||||
|
|
||||||
class ContextFilter(logging.Filter):
|
class ContextFilter(logging.Filter):
|
||||||
|
|||||||
Reference in New Issue
Block a user