diff --git a/src/eRum.app.src b/src/eRum.app.src index 619c4bc..05ade7b 100644 --- a/src/eRum.app.src +++ b/src/eRum.app.src @@ -4,54 +4,9 @@ {vsn, "3.9.0"}, {modules, []}, {applications, [kernel, stdlib, goldrush]}, - {registered, [eRum_sup, lager_event, rumCrashLog, rumHWatcherSup]}, + {registered, []}, {mod, {eRum_app, []}}, - {env, [ - %% Note: application:start(lager) overwrites previously defined environment variables thus declaration of default handlers is done at lager_app.erl - - %% What colors to use with what log levels - {colored, false}, - {colors, [ - {debug, "\e[0;38m"}, - {info, "\e[1;37m"}, - {notice, "\e[1;36m"}, - {warning, "\e[1;33m"}, - {error, "\e[1;31m"}, - {critical, "\e[1;35m"}, - {alert, "\e[1;44m"}, - {emergency, "\e[1;41m"}]}, - - %% Where to write the logs - {log_root, "log"}, - %% Whether to write a crash log, and where. False means no crash logger. - {crash_log, "crash.log"}, - %% Maximum size in bytes of events in the crash log - defaults to 65536 - {crash_log_msg_size, 65536}, - %% Maximum size of the crash log in bytes, before its rotated, set - %% to 0 to disable rotation - default is 0 - {crash_log_size, 10485760}, - %% What time to rotate the crash log - default is no time - %% rotation. See the README for a description of this format. - {crash_log_date, "$D0"}, - %% Number of rotated crash logs to keep, 0 means keep only the - %% current one - default is 0 - {crash_log_count, 5}, - %% Crash Log Rotator Module - default is lager_rotator_default - {crash_log_rotator, lager_rotator_default}, - %% Whether to redirect error_logger messages into the default lager_event sink - defaults to true - {error_logger_redirect, true}, - %% How many messages per second to allow from error_logger before we start dropping them - {error_logger_hwm, 50}, - %% How big the gen_event mailbox can get before it is - %% switched into sync mode. This value only applies to - %% the default sink; extra sinks can supply their own. - {async_threshold, 20}, - %% Switch back to async mode, when gen_event mailbox size - %% decrease from `async_threshold' to async_threshold - - %% async_threshold_window. This value only applies to the - %% default sink; extra sinks can supply their own. - {async_threshold_window, 5} - ]}, + {env, []}, {licenses, ["MIT License"]} ]}. diff --git a/src/eRum.erl b/src/eRum.erl index 0e6a37a..dc677bc 100644 --- a/src/eRum.erl +++ b/src/eRum.erl @@ -1,19 +1,3 @@ -%% Copyright (c) 2011-2012 Basho Technologies, Inc. All Rights Reserved. -%% -%% This file is provided to you under the Apache License, -%% Version 2.0 (the "License"); you may not use this file -%% except in compliance with the License. You may obtain -%% a copy of the License at -%% -%% http://www.apache.org/licenses/LICENSE-2.0 -%% -%% Unless required by applicable law or agreed to in writing, -%% software distributed under the License is distributed on an -%% "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -%% KIND, either express or implied. See the License for the -%% specific language governing permissions and limitations -%% under the License. - %% @doc The lager logging framework. -module(eRum).