ctdk / goiardi

A Chef server written in Go, able to run entirely in memory, with optional persistence with saving the in-memory data to disk or using MySQL or Postgres as the data storage backend. Docs: http://goiardi.readthedocs.io/en/latest/index.html
http://goiardi.gl
Apache License 2.0
280 stars 39 forks source link

Log info #15

Closed ctdk closed 10 years ago

ctdk commented 10 years ago

Sets up an event logger, and provides an API endpoint for reading the event log, per #14. Comments before merging are welcome.

ctdk commented 10 years ago

Two things have come up:

  1. In in-memory mode, the event log should be capped at some reasonable value, maybe 500-1000.
  2. Perhaps the log_infos table and log_info type should be renamed.
bradbeam commented 10 years ago

looks good

ctdk commented 10 years ago

And there we go, automatic log event purging added. Still mulling over renaming log_info.