diff --git a/lib/logger.js b/lib/logger.js
index <HASH>..<HASH> 100644
--- a/lib/logger.js
+++ b/lib/logger.js
@@ -74,13 +74,7 @@ exports.logEntry = function(logPath, entry, callback){
         callback = function(){};

     }

 

-    fs.createFile(fullName,function(err){

-

-        if(err){

-            callback(err);

-            return;

-        }

-

-        fs.appendFile(fullName, data, callback);

-    });

+    fs.createFileSync(fullName);

+    fs.appendFileSync(fullName, data);

+    callback();

 };
write in file sync to enforce the good order of the entries