X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2FLogger.ts;h=c3ea5c5c95defc83622e5571186193c025e02b15;hb=1f7a03460c25a4d696d23a1a4ff6fbe7384346e9;hp=61e4b0bc24dd1e4887b7fc6c91a69c87d010a7e1;hpb=9988696df26aba9c34733f9093ebf3d957ba9d02;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/Logger.ts b/src/utils/Logger.ts index 61e4b0bc..c3ea5c5c 100644 --- a/src/utils/Logger.ts +++ b/src/utils/Logger.ts @@ -7,7 +7,7 @@ import Configuration from './Configuration'; import Utils from './Utils'; let transports: transport[]; -if (Configuration.getLogRotate()) { +if (Configuration.getLogRotate() === true) { const logMaxFiles = Configuration.getLogMaxFiles(); const logMaxSize = Configuration.getLogMaxSize(); transports = [