2013-12-21 00:32:35 -08:00
|
|
|
itslog
|
|
|
|
======
|
2013-12-21 00:44:45 -08:00
|
|
|
|
|
|
|
`itslog` is a simple logging system. You can send it a payload that looks like
|
|
|
|
this:
|
|
|
|
|
|
|
|
{
|
|
|
|
"level" : 1,
|
|
|
|
"namespace": "ren.stimpy",
|
|
|
|
"payload": {
|
|
|
|
"type": "arbitrary object"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
and `itslog` will gracefully shove it into a postgres database for future
|
|
|
|
retrieval. It is literally the simplest program of this variety one could
|
|
|
|
possibly imagine.
|
|
|
|
|
|
|
|
future work
|
|
|
|
-----------
|
|
|
|
|
|
|
|
implement a (very simple) query api, supporting filtering based on:
|
|
|
|
|
|
|
|
- log level
|
|
|
|
- namespace
|
|
|
|
- date range
|