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_prv_overlay.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_prv_overlay.erl')
-rw-r--r-- | src/rlx_prv_overlay.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rlx_prv_overlay.erl b/src/rlx_prv_overlay.erl index cd1fe33..a749ce5 100644 --- a/src/rlx_prv_overlay.erl +++ b/src/rlx_prv_overlay.erl @@ -132,14 +132,14 @@ merge_overlay_vars(State, FileNames) -> {ok, Terms} -> lists:ukeymerge(1, lists:ukeysort(1, Terms), Acc); {error, Reason} -> - rlx_log:warn(rlx_state:log(State), - format_error({unable_to_read_varsfile, FileName, Reason})), + ec_cmd_log:warn(rlx_state:log(State), + format_error({unable_to_read_varsfile, FileName, Reason})), Acc end end, [], FileNames). -spec render_overlay_vars(proplists:proplist(), proplists:proplist(), - proplists:proplist()) -> + proplists:proplist()) -> {ok, proplists:proplist()} | relx:error(). render_overlay_vars(OverlayVars, [{Key, Value} | Rest], Acc) when erlang:is_list(Value) -> @@ -202,7 +202,7 @@ generate_app_vars(App) -> -spec generate_state_vars(rlx_state:t()) -> proplists:proplist(). generate_state_vars(State) -> - [{log, rlx_log:format(rlx_state:log(State))}, + [{log, ec_cmd_log:format(rlx_state:log(State))}, {output_dir, rlx_state:output_dir(State)}, {target_dir, rlx_state:output_dir(State)}, {overridden, [AppName || {AppName, _} <- rlx_state:overrides(State)]}, |