Skip to content

bob-cd/logger-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reference Bob logger

This is a simple logger which stores and serves logs from local files.

Requirements

  • Go 1.24+

Running

  • go build main.go to compile the code and obtain a binary main.
  • ./main will start on port 8002 by default, set the env var PORT to change.

API

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 an Ack.

About

A reference bob logger with local file storage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published