Deliver WiredTiger event notifications (messages, errors, progress) into Erlang for logging #7

Merged
gburd merged 9 commits from gsb-event-handlers into master 2013-04-23 19:02:22 +00:00
Showing only changes of commit 6f58faaba2 - Show all commits

View file

@ -416,10 +416,14 @@ establish_connection(Config, Type) ->
wterl:config_value(session_max, Config, max_sessions(Config)), wterl:config_value(session_max, Config, max_sessions(Config)),
wterl:config_value(cache_size, Config, size_cache(RequestedCacheSize)), wterl:config_value(cache_size, Config, size_cache(RequestedCacheSize)),
wterl:config_value(statistics_log, Config, [{wait, 30}]), % sec wterl:config_value(statistics_log, Config, [{wait, 30}]), % sec
wterl:config_value(verbose, Config, [ wterl:config_value(verbose, Config, [ "salvage", "verify"
"ckpt", "block", "shared_cache", "evictserver", "fileops", % Note: for some unknown reason, if you add these additional
"hazard", "mutex", "read", "readserver", "reconcile", % verbose flags Erlang SEGV's "size_object: bad tag for 0x80"
"salvage", "verify", "write", "evict", "lsm" % no idea why... yet... you've been warned.
%"block", "shared_cache", "reconcile", "evict", "lsm",
%"fileops", "read", "write", "readserver", "evictserver",
%"hazard", "mutex", "ckpt"
]) ] ++ CheckpointSetting ++ proplists:get_value(wterl, Config, [])), % sec ]) ] ++ CheckpointSetting ++ proplists:get_value(wterl, Config, [])), % sec