Removed ENTER/EXIT log entries from LoadDefaultConfig and LoadSystemController

This commit is contained in:
Daniele Teti 2024-06-19 23:14:01 +02:00
parent 3caec73e5c
commit 072fd18392

View File

@ -2513,7 +2513,7 @@ end;
procedure TMVCEngine.ConfigDefaultValues;
begin
Log.Info('ENTER: Config default values', LOGGERPRO_TAG);
LogI('Loading Config default values');
Config[TMVCConfigKey.SessionTimeout] := '30' { 30 minutes };
Config[TMVCConfigKey.DefaultContentType] := TMVCConstants.DEFAULT_CONTENT_TYPE;
@ -2531,8 +2531,6 @@ begin
Config[TMVCConfigKey.HATEOSPropertyName] := '_links';
Config[TMVCConfigKey.LoadSystemControllers] := 'true';
Log.Info('EXIT: Config default values', LOGGERPRO_TAG);
fOnRouterLog :=
procedure(
const Sender: TMVCCustomRouter;
@ -3623,9 +3621,8 @@ procedure TMVCEngine.LoadSystemControllers;
begin
if FConfig[TMVCConfigKey.LoadSystemControllers] = 'true' then
begin
Log(TLogLevel.levNormal, 'ENTER: LoadSystemControllers');
LogI('Loading System Controllers');
AddController(TMVCSystemController);
Log(TLogLevel.levNormal, 'EXIT: LoadSystemControllers');
end;
end;