New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log4js.fileAppender - Writing to file ../logfile/2015-7-10.log, error happened #314
Comments
You're going to have to give me a bit more to work with here. What does your log4js config look like? Does the "logfile" directory exist? log4js won't create directories. |
log4js config var log4js = require('log4js'); log4js.configure({ module.exports.logger = log4js.getLogger('cheese'); |
Closing this - assuming that the user managed to get it to work. |
How can i use this on backbone.js with require.js ? I'm tried but is not working. Can you please help me out this! |
I have the same problem on my EC2 instance: log4js.fileAppender - Writing to file /home/........../logs/app.log, error happened { Error: EACCES: permission denied, open '/home/..........//logs/app.log' |
error in linux
{ [Error: ENOENT, open '../logfile/2015-7-10.log'] errno: -2, code: 'ENOENT', path: '../logfile/2015-7-10.log' }
The text was updated successfully, but these errors were encountered: