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
fileAppender write after end, #385
Comments
use |
We also have the same problem when our server ends with an uncaught exception. Our code looks like:
With the 1.1.0, the logs are not written and the error "write after end" is written in the console. We use a With the release 1.0.1, the problem disappear and the logs are written in the files. Any suggestions or incoming bugfix ? |
@leegee I previously had same issue, but i realized I didn't shutdown my app properly, which is the root cause. You might check, whether your app can shutdown before |
A few causes of the "write after end" problem were fixed in version 2.x. Please re-open if they are still occurring. |
shutdown have still issues. kindly see #788 |
Log4js-node:
"version": "0.6.35"
package.json.txt
Circumstance: with a large log file, or any empty log file.
Configuration:
Output (repeated many, many times):
Followed by:
The text was updated successfully, but these errors were encountered: