diff options
author | Eric <[email protected]> | 2013-10-14 14:45:05 -0700 |
---|---|---|
committer | Eric <[email protected]> | 2013-10-14 14:45:05 -0700 |
commit | 53af44d28ee92272911192115c5352e26516e0b3 (patch) | |
tree | 62bbe99b8e88f7587ecf1a1c3c55495cdce8bac0 /src/rlx_rel_discovery.erl | |
parent | d8fe19483d1afe15017709058f330ac132e4029a (diff) | |
download | relx-53af44d28ee92272911192115c5352e26516e0b3.tar.gz relx-53af44d28ee92272911192115c5352e26516e0b3.tar.bz2 relx-53af44d28ee92272911192115c5352e26516e0b3.zip |
remove rlx log and use ec_cmd_log instead
Diffstat (limited to 'src/rlx_rel_discovery.erl')
-rw-r--r-- | src/rlx_rel_discovery.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlx_rel_discovery.erl b/src/rlx_rel_discovery.erl index 80a11eb..837ebe6 100644 --- a/src/rlx_rel_discovery.erl +++ b/src/rlx_rel_discovery.erl @@ -38,7 +38,7 @@ -spec do(rlx_state:t(), [file:name()], [rlx_app_info:t()]) -> {ok, [rlx_release:t()]} | relx:error(). do(State, LibDirs, AppMeta) -> - rlx_log:info(rlx_state:log(State), + ec_cmd_log:info(rlx_state:log(State), fun() -> ["Resolving available OTP Releases from directories:\n", string:join([[rlx_util:indent(2), LibDir] || LibDir <- LibDirs], "\n")] @@ -75,7 +75,7 @@ resolve_rel_metadata(State, LibDirs, AppMeta) -> case Errors of [] -> ReleaseMeta1 = [RelMeta || {ok, RelMeta} <- ReleaseMeta0], - rlx_log:debug(rlx_state:log(State), + ec_cmd_log:debug(rlx_state:log(State), fun() -> ["Resolved the following OTP Releases from the system: \n", [[rlx_release:format(1, Rel), "\n"] || Rel <- ReleaseMeta1]] |