-
Notifications
You must be signed in to change notification settings - Fork 23
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 weird behavior #138
Comments
|
I am using a mac with OS X El Capitan and the final deploy would be over Amazon C2 server. The log file would be created in the same level as the routes folder but in a log folder and log4js creates the file where I specify in a configuration section with 'filename' parameter. I have something like this:
In other files I use this like:
|
Also, I am doing another quick test with this example:
But the file doesn't create anywhere when I run the project with NAR. So the issue is not just the Log4js, is probably the paths mapping. |
@isakar you can use |
I can see this in the console: Actually is the name of my log, but I don't know how could I get it. I mean, if I search in the entire computer, it doesn't find the file in nowhere. |
Use an absolute path or an explicit extraction path. |
Hi, I have a project in which I am using log4js to track the processes in a log file and it works fine without NAR package, but when I create the package with NAR (I added all my dependencies in package.json) and execute it, the project still runs well but the there is no log file and It doesn't show an error, nothing to tell me what could be is happening. Do you have any thought about it?
The text was updated successfully, but these errors were encountered: