1 %% Copyright (c) 2011-2012 Basho Technologies, Inc. All Rights Reserved.
3 %% This file is provided to you under the Apache License,
4 %% Version 2.0 (the "License"); you may not use this file
5 %% except in compliance with the License. You may obtain
6 %% a copy of the License at
8 %% http://www.apache.org/licenses/LICENSE-2.0
10 %% Unless required by applicable law or agreed to in writing,
11 %% software distributed under the License is distributed on an
12 %% "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13 %% KIND, either express or implied. See the License for the
14 %% specific language governing permissions and limitations
17 %% @doc A supervisor for monitoring webmachine_logger_handler_watcher processes.
21 -module(webmachine_logger_watcher_sup).
23 -behaviour(supervisor).
26 -export([start_link/0]).
32 supervisor:start_link({local, ?MODULE}, ?MODULE, []).
35 {ok, {{simple_one_for_one, 10, 60},
37 {webmachine_logger_watcher, {webmachine_logger_watcher, start_link, []},
38 transient, 5000, worker, [webmachine_logger_watcher]}