Skip to content
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

Merged
merged 5 commits into from
Dec 20, 2023
Merged

feat(mojaloop/#3445): nodejs upgrade #252

merged 5 commits into from
Dec 20, 2023

Conversation

aaronreynoza
Copy link
Member

No description provided.

@aaronreynoza aaronreynoza marked this pull request as ready for review December 18, 2023 02:33
Copy link
Contributor

@oderayi oderayi left a 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
    "node": "=16.x"
    need to change.
  • Also, do a snapshot release to validate the release pipeline.

Dockerfile Outdated Show resolved Hide resolved
Comment on lines +36 to +39
# 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this necessary?

Copy link
Member Author

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.

Copy link
Member Author

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.

Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants