`src/python/pants/engine/scheduler.py`, line 427
# development
a
src/python/pants/engine/scheduler.py
, line 427
h
ah, sorry I was unclear. I meant the general text format
of timestamp, then [Log level] , then the text of the log
that was just an example
a
src/rust/engine/logging/src/logger.rs
,
Copy code
pub fn log_from_python(
    &self,
    message: &str,
    python_level: u64,
    target: &str,
  ) -> Result<(), String> {
    python_level.try_into().map(|level: PythonLogLevel| {
      log!(target: target, level.into(), "{}", message);
    })
  }
h
so, that formatting is something the
log!
macro in the rust logigng crate is doing?
a
yes, and apparently the log level is controlling the
[INFO]
formatting when apparently that's supposed to be a debug log? not sure about that
h
oh, I flipped that deliberately in my local copy of the code, just to force it to log something to test something unrelated
like I set the logger to invoke
info
rather than
debug
there so I'd see something