Changeset a7304b5c52e33dfefad9852596a92dc99ff37669

Show
Ignore:
Timestamp:
03/02/08 03:15:37 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1204427737 +0000
git-parent:

[eb03582069696d88174dc3cedbf7117636aca2ef]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1204427737 +0000
Message:

jlog pulling

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/Makefile.in

    r39cf694 ra7304b5  
    3333STRATCON_OBJS=stratcond.o noit_listener.o \ 
    3434        noit_console.o noit_console_state.o noit_console_telnet.o \ 
    35         noit_conf.o noit_tokenizer.o 
     35        noit_conf.o noit_tokenizer.o \ 
     36        stratcon_jlog_streamer.o stratcon_datastore.o 
    3637 
    3738all:    noitd stratcond testcerts 
  • src/stratcon.conf

    r06f58e6 ra7304b5  
    33 
    44  <noits> 
     5    <config> 
     6      <!-- 
     7        If we have a connection failure, attempt to reconnect 
     8        immediately.  Upon failure wait 1000ms (1s) and 
     9        exponentially backoff up to 900000ms (900s or 15m) 
     10      --> 
     11      <reconnect_initial_interval>1000</reconnect_initial_interval> 
     12      <reconnect_maximum_interval>900000</reconnect_maximum_interval> 
     13    </config> 
    514    <sslconfig> 
    615      <key_file>test-strat.key</key_file> 
     
    817      <ca_chain>test-ca.crt</ca_chain> 
    918    </sslconfig> 
    10     <noit target="127.0.0.1:32323" /> 
     19    <noit address="127.0.0.1" port="34332" /> 
    1120  </noits> 
     21 
    1222  <listeners> 
    1323  <consoles type="noit_console"> 
  • src/stratcond.c

    r06f58e6 ra7304b5  
    1515#include "noit_module.h" 
    1616#include "noit_conf.h" 
     17#include "stratcon_jlog_streamer.h" 
    1718 
    1819#define APPNAME "stratcon" 
     
    9899  noit_console_init(); 
    99100  noit_listener_init(APPNAME); 
     101  stratcon_jlog_streamer_init(APPNAME); 
    100102 
    101103  eventer_loop();