Skip to content

Instantly share code, notes, and snippets.

@hotchpotch
Created July 31, 2012 06:41
Show Gist options
  • Select an option

  • Save hotchpotch/3214293 to your computer and use it in GitHub Desktop.

Select an option

Save hotchpotch/3214293 to your computer and use it in GitHub Desktop.
source :forward
source(:http) {
port '8889'
}
foo_path = '/tmp/foo.log'
match(:file, 'heartbeat.**') {
path foo_path
}
match(:copy, 'copy.**') {
plugin(:store, :file) {
path foo_path
}
plugin(:store, :file) {
path '/tmp/bar.log'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment