fix: tls_certfile_gc notice log don't print abspath

This commit is contained in:
zhongwencool 2023-06-15 09:37:01 +08:00
parent c269079c31
commit 7dade3a52c
2 changed files with 3 additions and 2 deletions

View File

@ -228,7 +228,8 @@ find_managed_files(Filter, Dir) ->
Acc
end;
(AbsPath, {error, Reason}, Acc) ->
?SLOG(notice, "filesystem_object_inaccessible", #{
?SLOG(notice, #{
msg => "filesystem_object_inaccessible",
abspath => AbsPath,
reason => Reason
}),

2
dev
View File

@ -158,7 +158,7 @@ export EMQX_LOG_DIR="$BASE_DIR/log"
CONFIGS_DIR="$EMQX_DATA_DIR/configs"
# Use your cookie so your IDE can connect to it.
COOKIE="${EMQX_NODE__COOKIE:-${EMQX_NODE_COOKIE:-$(cat ~/.erlang.cookie || echo 'emqxsecretcookie')}}"
mkdir -p "$EMQX_ETC_DIR" "$EMQX_DATA_DIR/patches" "$EMQX_LOG_DIR" "$CONFIGS_DIR"
mkdir -p "$EMQX_ETC_DIR" "$EMQX_DATA_DIR/patches" "$EMQX_DATA_DIR/certs" "$EMQX_LOG_DIR" "$CONFIGS_DIR"
if [ $EKKA_EPMD -eq 1 ]; then
EPMD_ARGS='-start_epmd false -epmd_module ekka_epmd'
else