Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ Where a name has an alias, either spelling works. If both are set to **different
prefixed name wins and a warning names the value used — the variable is never treated as unset,
which would otherwise let `LOOP_HOST` fall back to its default of `learning-loop.ai`.

#### Debug logging

Every node type (Detector, Trainer, Annotator, Converter) has a REST endpoint to switch its own log level between `INFO` and `DEBUG` at runtime. Send the plain text `on` or `off` with a PUT request:

- Turn debug logging on: `curl -X PUT -d "on" http://localhost/debug_logging`
- Turn debug logging off: `curl -X PUT -d "off" http://localhost/debug_logging`

The response repeats the new state. Any other body returns status code 400.
Only the node's own logger is affected; third-party loggers such as `httpx` keep their level. The setting is not persistent, a restart brings the log level back to `INFO`.

#### Testing

We use github actions for CI. Tests can also be executed locally by running
Expand Down
Loading