tablexi / tablexi-logger

[DEPRECATED] A standardized logging interface for Table XI applications
MIT License
1 stars 0 forks source link

Lograge support #2

Closed phoolish closed 9 years ago

phoolish commented 9 years ago

We are planning on using lograge to standardize log output in JSON format. Can this be integrated?

soulcutter commented 9 years ago

/cc @benkimpel

How does lograge work with regard to manually-supplied error logging?

benkimpel commented 9 years ago

I think as long as it has the Logger interface you can drop it in. It might just wrap the logger and format messages prior to passing it through. (I'll have to confirm this.)

benkimpel commented 9 years ago

Let's try it out on a fresh app generated from this branch of starter https://github.com/tablexi/starter/pull/96

phoolish commented 9 years ago

Can lograge capture eye logs?

Lloyd Philbrook Table XI

On Tue, Sep 1, 2015 at 11:14 AM, Ben Kimpel notifications@github.com wrote:

Let's try it out on a fresh app generated from this branch of starter tablexi/starter#96 https://github.com/tablexi/starter/pull/96

— Reply to this email directly or view it on GitHub https://github.com/tablexi/tablexi-logger/issues/2#issuecomment-136777555 .

benkimpel commented 9 years ago

Only if we somehow pipe them through the app's logger.

phoolish commented 9 years ago

https://github.com/kostya/eye/issues/81

benkimpel commented 9 years ago

Interesting. I think we could get something similar to work, then. Eye logs might be better served by LogStashLogger since that's relatively standalone and not targeted at Rails.

phoolish commented 9 years ago

I'd prefer to just use 1 logstash agent on an instance -- d1 being the only outlier in that scenario.