From d95f17fe777de2ed3242d4849849464e066d790e Mon Sep 17 00:00:00 2001 From: zhongwencool Date: Fri, 14 Jun 2024 22:04:20 +0800 Subject: [PATCH] chore: revert ULOG/ELOG --- apps/emqx/include/logger.hrl | 10 ++-------- apps/emqx_dashboard_sso/src/emqx_dashboard_sso.app.src | 2 +- changes/ce/feat-13242.en.md | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/apps/emqx/include/logger.hrl b/apps/emqx/include/logger.hrl index d8ff3fe60..31fe0e36a 100644 --- a/apps/emqx/include/logger.hrl +++ b/apps/emqx/include/logger.hrl @@ -119,13 +119,7 @@ end). -endif. %% print to 'user' group leader --define(ULOG(Fmt, Args), - io:format(user, "~ts " ++ Fmt, [emqx_utils_calendar:now_to_rfc3339(millisecond) | Args]) -). --define(ELOG(Fmt, Args), - io:format(standard_error, "~ts " ++ Fmt, [ - emqx_utils_calendar:now_to_rfc3339(millisecond) | Args - ]) -). +-define(ULOG(Fmt, Args), io:format(user, Fmt, Args)). +-define(ELOG(Fmt, Args), io:format(standard_error, Fmt, Args)). -endif. diff --git a/apps/emqx_dashboard_sso/src/emqx_dashboard_sso.app.src b/apps/emqx_dashboard_sso/src/emqx_dashboard_sso.app.src index 0ed5d8025..7f5e8f04a 100644 --- a/apps/emqx_dashboard_sso/src/emqx_dashboard_sso.app.src +++ b/apps/emqx_dashboard_sso/src/emqx_dashboard_sso.app.src @@ -1,6 +1,6 @@ {application, emqx_dashboard_sso, [ {description, "EMQX Dashboard Single Sign-On"}, - {vsn, "0.1.5"}, + {vsn, "0.1.4"}, {registered, [emqx_dashboard_sso_sup]}, {applications, [ kernel, diff --git a/changes/ce/feat-13242.en.md b/changes/ce/feat-13242.en.md index 0fa875020..e216b7908 100644 --- a/changes/ce/feat-13242.en.md +++ b/changes/ce/feat-13242.en.md @@ -1 +1 @@ -Significantly increased the startup speed of the EMQX management dashboard. +Significantly increased the startup speed of EMQX dashboard listener.