aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_cmd_args.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlx_cmd_args.erl')
-rw-r--r--src/rlx_cmd_args.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlx_cmd_args.erl b/src/rlx_cmd_args.erl
index b64c05d..7f3f39b 100644
--- a/src/rlx_cmd_args.erl
+++ b/src/rlx_cmd_args.erl
@@ -25,7 +25,6 @@
format_error/1]).
-include("relx.hrl").
-
%%============================================================================
%% API
%%============================================================================
@@ -137,7 +136,8 @@ create(log_level, Opts) ->
LogLevel = proplists:get_value(log_level, Opts, 0),
if
LogLevel >= 0, LogLevel =< 3 ->
- {log, ec_cmd_log:new(LogLevel, command_line)};
+ {log, ec_cmd_log:new(LogLevel, command_line,
+ rlx_util:intensity())};
true ->
throw(?RLX_ERROR({invalid_log_level, LogLevel}))
end;