Nate Finch

Results 207 comments of Nate Finch

I mean, I guess it's ok? but then what if code is looking for .tmp files? What problem is this solving? What program do you have that is looking for...

Thanks for this, I'll take a look at it in a bit.

Ug, sorry. I'll take a look at this in a bit.

So, I made a v3 branch, mostly because reviewing 1000 lines of someone else's code is really hard. It's up to parity with v2 right now and all the tests...

I don't really want to incur the overhead of doing an os.stat on every single write. A better way to do this is to handle the error when you try...

This is a time.Duration in v3 (which is not tagged yet but exists as a branch)

This is kind of why I don't advocate for periodic rotation. The whole point of rotation is to avoid running out of disk space. Plus it keeps the logic simple....

The problem with making it configurable is that it is too easy to screw up in non-obvious ways. The timestamp is what makes the backup files unique, and it is...

No preference, do whatever you feel is best and is most straight forward. I'm not too picky. I really need to make a v3 of this thing and clean some...

I'm not sure how tail and fluentd work in this case. I can look into it. There may be some file descriptor magic logrotate etc do to keep tail on...