Download taskweaver/ces/kernel/logging.py from TRaw/tskwvr: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/spaces/TRaw/tskwvr/resolve/main/taskweaver/ces/kernel/logging.py
- Command line
-
hf download hf://spaces/TRaw/tskwvr/taskweaver/ces/kernel/logging.py
-
curl -L -o logging.py https://huggingface.co/spaces/TRaw/tskwvr/resolve/main/taskweaver/ces/kernel/logging.py
253 Bytes
| import logging | |
| import os | |
| logging.basicConfig( | |
| filename=os.environ.get("TASKWEAVER_LOGGING_FILE_PATH", "ces-runtime.log"), | |
| level=logging.DEBUG, | |
| format="%(asctime)s %(levelname)s %(name)s %(message)s", | |
| ) | |
| logger = logging.getLogger(__name__) | |