store arbitrary json blobs in postgres over http
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Stephen McQuay 315f7cc8b3 updated license 6 years ago
.hgignore ignore vim .swp files 8 years ago
api.go better way to deal with empty bodies 7 years ago
config.go Moved verbose to flag. 8 years ago
db.go added sql storage 8 years ago
init.sql added sql storage 8 years ago
license updated license 6 years ago
log.go updated for changes to sqlx 7 years ago
main.go added sql storage 8 years ago trying to emphasize the arbitrariness of the payload 8 years ago


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",
        "wait, any type?": [
            "I am",
            "very serious"
        "pi": 3.142

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.

Simply provide it with a level, a namespace, and a payload, and itslog will do the rest. Please note that payload can be any valid json object.

future work

implement a (very simple) query api, supporting filtering based on:

  • log level
  • namespace
  • date range