fix(emqx_management): ensure binary string for log_path
This commit is contained in:
parent
8331c8fff0
commit
469071df00
|
@ -153,7 +153,7 @@ log_path() ->
|
||||||
undefined ->
|
undefined ->
|
||||||
<<"log.file_handler.default.enable is false, not logging to file.">>;
|
<<"log.file_handler.default.enable is false, not logging to file.">>;
|
||||||
Path ->
|
Path ->
|
||||||
filename:join(RootDir, Path)
|
iolist_to_binary(filename:join(RootDir, Path))
|
||||||
end.
|
end.
|
||||||
|
|
||||||
get_log_path([#{config := #{file := Path}} | _LoggerConfigs]) ->
|
get_log_path([#{config := #{file := Path}} | _LoggerConfigs]) ->
|
||||||
|
|
Loading…
Reference in New Issue