diff --git a/tests/system-logger.js b/tests/system-logger.js
index <HASH>..<HASH> 100644
--- a/tests/system-logger.js
+++ b/tests/system-logger.js
@@ -11,8 +11,8 @@ const DELAYTOCHECKTESTLOGFILE = 1000;
 const TESTLOGFILE = './tests/testArea/test.log';
 
 describe('logging Tests', function() {
-	before(() => {
-		fs.unlinkSync(TESTLOGFILE);		// No need to check file exist fs.existsSync(TESTLOGFILE). unlinkSync will skip when file no exist
+	after(() => {
+		fs.unlinkSync(TESTLOGFILE);
 	});
 	describe('Setting Tests', function() {
 		it('verify converseLeveValue', function() {
test(syste-logger): Change the cleanup after the test