logging-related thing I noticed - it looks like th...
# development
h
logging-related thing I noticed - it looks like the
Copy code
15:17:20 [INFO] Initializing pantsd...
15:17:26 [INFO] pantsd initialized`
log messages from pantsd are happening before the code that initializes the rust logger for pantsd is called
this results in settings that apply to most logs not getting applied to these two, which looks odd
looks like pantsd calls
init_rust_logger
in
pants_daemon.py:_pantsd_logging
and I think those two log messages originate when we instantiate
PantsDaemonCore
h
h
maybe, but I think it might not
I'm still trying to figure out why
PantsDaemonCore
is instantiated before we set up logging, it's hard to trace the order of execution in pantsd
but I think what might be happening is that those two log messages are called with the default python logger formatting settings, before we've turned on the rust logging at all
👍 1
so any changes we make to rust logging wouldn't affect this
👍 1
made an isssue will come back to this later: https://github.com/pantsbuild/pants/issues/10652
👍 1