timbre

2017-07-25T16:11:10.236951Z

hey @bja i wrote size based rolling appender https://gist.github.com/danboykis/152e3418fa3c03aaf1df2d8972ee01c9

2017-07-25T16:11:39.255172Z

if anyone has feedback, i'd be happy to hear it

2017-07-25T16:12:40.294074Z

(timbre/merge-config!
      {:appenders {:spit (rolling/rolling-appender :path log-path :max-log-size (rolling/in-bytes [100 :mb]))}})
    timbre/*config*))

2017-07-25T16:12:59.305620Z

where rolling is an alias to example.file-size-rolling-appender

bja 2017-07-25T16:13:05.309867Z

nice

bja 2017-07-25T16:13:19.318460Z

you might submit that as a PR to timbre

bja 2017-07-25T16:13:27.323642Z

both for feedback as well as potential inclusion

bja 2017-07-25T16:13:42.332687Z

(it also just makes it easier for people who have a similar problem to find it, even if the PR isn't ultimately accepted)

2017-07-25T16:14:02.344973Z

i guess it's worth a shot...