Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Setting Up Logging:
- LOG_FILE = "Waylink.log"
- logging.basicConfig(
- filename=LOG_FILE,
- level=logging.DEBUG,
- format="%(asctime)s - %(levelname)s - %(message)s",
- datefmt="%Y-%m-%d %H:%M:%S" # Excludes milliseconds.
- )
- logging.info("Script initialized.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement