Created
March 11, 2013 07:24
-
-
Save elprup/5132513 to your computer and use it in GitHub Desktop.
scribe product config sample (master slave mode)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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