I am working on log files. I created custom log files in which I am checking event times and writing in log files which is fine in Dev server while for LIVE server nothing is written.
Here's what I have done is creating files using plugins.
var file = plugins.file.createFile("//<IP Address>/MyAppData/ServoyLog.txt");
if(file.exists())
{
plugins.file.appendToTXTFile(file,"\n Event Started at : " + application.getServerTimeStamp() +'\n')
}
else
{
//do other stuff.
}
Please suggest where I am having problem