Mike,
On execution, I am getting:
/usr/local/silkjs/httpd/child.js line 15 (errorHandler):
(string) Could not initialize log file (/var/www/qcs/logs/sql.log): No such file or directory
However, the file exists, is not empty, and is wide open:
/var/www/qcs$ ls -l /var/www/qcs/logs/sql.log
-rwxrwxrwx 1 w3bd3v w3bd3v 20 Aug 13 15:16 /var/www/qcs/logs/sql.log
Here is the code snippet I am running:
var LogFile = require('LogFile');
var sql_log = '/var/www/qcs/logs/sql.log';
var logfile = new LogFile(sql_log);
logfile.writeln('--------------------------------------------------------------');
What am I missing?
Thanks,
Eric