diff --git a/lib/myLogger.js b/lib/myLogger.js index 6a7e9ea..e145032 100644 --- a/lib/myLogger.js +++ b/lib/myLogger.js @@ -61,7 +61,7 @@ function myLogger(debugLevel,logger,creationLogPath) { if(!this.creationPassed) { fs.writeFileSync(creationLogPath+startLog, '['+(new Date().toISOString())+'] '+msg+"\n", {flag: 'a'}); - if(msg && msg.includes("Homebridge est démarré")) { + if(msg && msg.includes("homebridge est démarré")) { fs.writeFileSync(creationLogPath+startLog, '['+(new Date().toISOString())+"] ----Fin du log de création----\n", {flag: 'a'}); this.creationPassed = true; }