Skip to content

Instantly share code, notes, and snippets.

@elprup
Created March 11, 2013 07:24
Show Gist options
  • Save elprup/5132513 to your computer and use it in GitHub Desktop.
Save elprup/5132513 to your computer and use it in GitHub Desktop.
scribe product config sample (master slave mode)
# master config
port=1456
max_msg_per_second=2000000
max_queue_size=10000000
check_interval=3
<store>
category=heartbeat
type=file
file_path=/mnt/heartbeat
base_filename=heartbeat
max_size=1000000
add_newlines=1
rotate_period=daily
rotate_hour=0
rotate_minute=0
max_write_size=4
</store>
<store>
category=test
type=multi
report_success=any
must_succeed=no
<store0>
type=file
file_path=/mnt/log/test
base_filename=test
max_size=1000000
add_newlines=1
rotate_period=daily
rotate_hour=0
rotate_minute=10
max_write_size=4096
</store0>
<store1>
type=network
remote_host=[change to slave-ip]
remote_port=1456
</store1>
</store>
# slave config
port=1456
max_msg_per_second=2000000
max_queue_size=10000000
check_interval=3
<store>
category=test
type=file
file_path=/mnt/log/test
base_filename=test
max_size=1000000
add_newlines=1
rotate_period=daily
rotate_hour=0
rotate_minute=10
max_write_size=4096
</store>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment