Giter VIP home page Giter VIP logo

Comments (11)

seankibler avatar seankibler commented on May 21, 2024 2

I'm going to take a shot at this. I'll be using timbre and I'd like to contribute. My time is extremely limited but if I can just leverage the aforementioned brolog library implementation seems as it will be very easy.

from timbre.

ptaoussanis avatar ptaoussanis commented on May 21, 2024

Hey Daniel! Sure, would be happy to take a PR that adds a Syslog appender :-)

from timbre.

danielsz avatar danielsz commented on May 21, 2024

Cool! I've added this to my todo list.

from timbre.

ptaoussanis avatar ptaoussanis commented on May 21, 2024

Great, just ping me if you have any questions along the way. Cheers!

from timbre.

nicferrier avatar nicferrier commented on May 21, 2024

Any progress on this @danielsz ?

from timbre.

danielsz avatar danielsz commented on May 21, 2024

@nicferrier Ah, no, never got to it, sorry. :(

from timbre.

danielflower avatar danielflower commented on May 21, 2024

+1 for syslog support, unless there is another way to get Papertrail to listen to a Heroku app.

edit: nevermind, using the default config started working. I hereby rescind my +1.

from timbre.

lbradstreet avatar lbradstreet commented on May 21, 2024

@danielflower what do you mean by "using the default config"? I also want to log to syslog from timbre.

from timbre.

danielflower avatar danielflower commented on May 21, 2024

I think I meant just logging to the console. I never got it to log to syslog sorry.

from timbre.

ptaoussanis avatar ptaoussanis commented on May 21, 2024

Just throwing out there that writing a Timbre appender for https://github.com/joshrotenberg/brolog looks like it should be quite straight forward + potentially a good exercise for folks wanting to get more familiar with how Timbre appenders work.

There's an example appender that you can use as a starting point at https://github.com/ptaoussanis/timbre/blob/master/src/taoensso/timbre/appenders/example.clj

An appender's basically just a map with some config keys and a (fn [data-map]) -> ?output, both of which are described at https://github.com/ptaoussanis/timbre/blob/93044a4201ebcae5fc2c34c07ee19d007b73f671/src/taoensso/timbre.cljx#L61

PR welcome if anyone feels like taking a stab at this.

from timbre.

jszakmeister avatar jszakmeister commented on May 21, 2024

Not that the syslog API is changing much, but how do you feel about using a library that hasn't been touched in several years? I'm assuming that's okay?

from timbre.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.