-
Notifications
You must be signed in to change notification settings - Fork 29
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
feat(mojaloop/#3445): nodejs upgrade #252
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
- A question regrading logs management.
- This line
Line 21 in dc53add
"node": "=16.x" - Also, do a snapshot release to validate the release pipeline.
# Create empty log file & link stdout to the application log file | ||
RUN mkdir ./logs && touch ./logs/combined.log | ||
# Links combined to stdout | ||
RUN ln -sf /dev/stdout ./logs/combined.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, it's added into every Dockerfile already, I'll investigate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By linking the standard output to the application log file, any output written to stdout by the application will be redirected and appended to the "combined.log" file. This allows us to access and monitor the application's log output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, thank you for the clarification.
The central-service-logger
also defaults to writing to that file when using the file transport for logging:
https://github.com/mojaloop/central-services-logger/blob/966826cab74713a2ba743fe1b89eb200acfb7c68/config/default.json#L10
No description provided.