writting output files

This commit is contained in:
Luis Fernando Molina committed 2020-06-08 15:20:19 +02:00
1 parent 963476d9d8
commit 9be97215a6
2 files changed
+60 -456

No files matched your search

-4
View File
@@ -198,9 +198,6 @@ exports.newFileStorage = function newFileStorage(logger, host, port) {
recursiveCreateTextFile(filePath, fileContent, callBackFunction, keepPrevious)
function recursiveCreateTextFile(filePath, fileContent, callBackFunction, keepPrevious) {
logger.write(MODULE_NAME, '[INFO] FileStorage -> createTextFile -> Entering Function.')
/* Choose path for either logs or data */
let fileLocation
if (filePath.indexOf("/Logs/") > 0) {
@@ -210,7 +207,6 @@ exports.newFileStorage = function newFileStorage(logger, host, port) {
}
try {
logger.write(MODULE_NAME, '[INFO] FileStorage -> createTextFile -> fileLocation: ' + fileLocation)
/* If necesary a folder or folders are created before writing the file to disk. */