OXIESEC PANEL
- Current Dir:
/
/
snap
/
core
/
17210
/
usr
/
lib
/
python3
/
dist-packages
/
cloudinit
/
cmd
/
devel
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/02/2024 07:52:55 PM
rwxr-xr-x
📄
__init__.py
663 bytes
03/19/2021 02:37:22 PM
rw-r--r--
📁
__pycache__
-
10/02/2024 07:52:55 PM
rwxr-xr-x
📄
logs.py
5.57 KB
03/19/2021 02:37:22 PM
rw-r--r--
📄
make_mime.py
4.03 KB
03/19/2021 02:37:22 PM
rw-r--r--
📄
net_convert.py
5 KB
03/19/2021 02:37:22 PM
rw-r--r--
📄
parser.py
1.25 KB
03/19/2021 02:37:22 PM
rw-r--r--
📄
render.py
3.29 KB
03/19/2021 02:37:22 PM
rw-r--r--
Editing: __init__.py
Close
# This file is part of cloud-init. See LICENSE file for license information. """Common cloud-init devel commandline utility functions.""" import logging from cloudinit import log from cloudinit.stages import Init def addLogHandlerCLI(logger, log_level): """Add a commandline logging handler to emit messages to stderr.""" formatter = logging.Formatter('%(levelname)s: %(message)s') log.setupBasicLogging(log_level, formatter=formatter) return logger def read_cfg_paths(): """Return a Paths object based on the system configuration on disk.""" init = Init(ds_deps=[]) init.read_cfg() return init.paths # vi: ts=4 expandtab