aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2016-01-12 22:47:35 -0800
committerJordan Wilberding <[email protected]>2016-01-12 22:47:35 -0800
commit5221acdf8f79a26d4438cb26c4215af22ac04400 (patch)
tree7329ccc01809a2b7aa36e30002b324ec8ec51530
parent833abfa304aa742bbf2b0fb1beb1b26a8ab45876 (diff)
parent1241bc6d0372501d9b3ebc7ec27daf204ff727ca (diff)
downloadrelx-5221acdf8f79a26d4438cb26c4215af22ac04400.tar.gz
relx-5221acdf8f79a26d4438cb26c4215af22ac04400.tar.bz2
relx-5221acdf8f79a26d4438cb26c4215af22ac04400.zip
Merge pull request #438 from tsloughter/debug
move missing beam and other app warnings to debug messages
-rw-r--r--src/rlx_app_discovery.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rlx_app_discovery.erl b/src/rlx_app_discovery.erl
index 3d3bdb1..dcd2604 100644
--- a/src/rlx_app_discovery.erl
+++ b/src/rlx_app_discovery.erl
@@ -85,7 +85,7 @@ get_app_metadata(State, LibDirs) ->
{ok, _} = AppMeta ->
[AppMeta|Acc];
{warning, W} ->
- ec_cmd_log:warn(rlx_state:log(State), format_detail(W)),
+ ec_cmd_log:debug(rlx_state:log(State), format_detail(W)),
Acc;
{error, E} ->
ec_cmd_log:error(rlx_state:log(State), format_detail(E)),
@@ -111,7 +111,7 @@ resolve_app_metadata(State, LibDirs) ->
{error, _} ->
true;
{warning, W} ->
- ec_cmd_log:warn(rlx_state:log(State), format_detail(W)),
+ ec_cmd_log:debug(rlx_state:log(State), format_detail(W)),
false;
_ ->
false
@@ -164,7 +164,7 @@ resolve_override(AppName, FileName0) ->
-spec format_detail(ErrorDetail::term()) -> iolist().
format_detail({missing_beam_file, Module, BeamFile}) ->
- io_lib:format("Missing beam file ~p ~p", [Module, BeamFile]);
+ io_lib:format("Missing beam file ~p ~s", [Module, BeamFile]);
format_detail({error, {invalid_override, AppName, FileName}}) ->
io_lib:format("Override {~p, ~p} is not a valid OTP App. Perhaps you forgot to build it?",
[AppName, FileName]);