Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

How do I use the copytruncate option? #52

Closed
anujbiyani opened this Issue · 2 comments

2 participants

@anujbiyani

I noticed the copytruncate option in the readme but the examples don't show how to use it; is it just copytruncate: true?

I tried checking the source code to see how it was used, but it doesn't even seem to be checked for: https://github.com/papertrail/remote_syslog/blob/master/lib/remote_syslog/cli.rb#L206

I also searched the code for 'copytruncate' but only found it in the readme.

@troy
Owner

This is actually an option in logrotate. Here's more in its manpage. remote_syslog doesn't handle log rotation. I'll clarify this in the README.

@anujbiyani

Ah alright I get it now; thanks!

@anujbiyani anujbiyani closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.