summaryrefslogtreecommitdiff
path: root/bootstrap.py
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2022-02-04 12:13:37 -0800
committerScott Gasch <[email protected]>2022-02-04 12:13:37 -0800
commit4d03debb5b84b5b3e096add468ecd87c55ed0f5f (patch)
treef74a251a3528bbbf8ea366164c0b6cda965d67bc /bootstrap.py
parent65e6f781dffb268be6ef0a015f4cc89b57b62a5e (diff)
Have bootstrap log the site_config at program initialization.
Diffstat (limited to 'bootstrap.py')
-rw-r--r--bootstrap.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bootstrap.py b/bootstrap.py
index c89952a..2df9588 100644
--- a/bootstrap.py
+++ b/bootstrap.py
@@ -252,6 +252,11 @@ def initialize(entry_point):
logger.debug(f'Python C API version: {sys.api_version}')
logger.debug(f'Python path: {sys.path}')
+ # Log something about the site_config, many things use it.
+ import site_config
+
+ logger.debug(f'Global site_config: {site_config.get_config()}')
+
# Allow programs that don't bother to override the random seed
# to be replayed via the commandline.
import random