This is a simple logger which stores and serves logs from local files.
- Go 1.24+
go build main.go
to compile the code and obtain a binarymain
../main
will start on port8002
by default, set the env varPORT
to change.
Here {path}
represents {pipeline-group}/{pipeline-name}/{run-id}
.
GET /bob_logs/{path}
: Sends log lines if the run exists, send follow=true to stream live changes.PUT /bob_logs/{path}
: Ingests log data via PUT body for a given run.DELETE /bob_logs/{path}
: Deletes the logs for the run.GET /ping
: Responds with anAck
.