1%% This Source Code Form is subject to the terms of the Mozilla Public 2%% License, v. 2.0. If a copy of the MPL was not distributed with this 3%% file, You can obtain one at https://mozilla.org/MPL/2.0/. 4%% 5%% Copyright (c) 2007-2021 VMware, Inc. or its affiliates. All rights reserved. 6%% 7 8-module(osiris_app). 9 10-behaviour(application). 11 12-export([start/2]). 13-export([stop/1]). 14 15start(_Type, _Args) -> 16 Logger = application:get_env(osiris, logger_module, logger), 17 osiris:configure_logger(Logger), 18 osiris_sup:start_link(). 19 20stop(_State) -> 21 ok. 22