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

Crashing pm2 cluster #28

Open
matejstrasek opened this issue Apr 3, 2024 · 1 comment
Open

Crashing pm2 cluster #28

matejstrasek opened this issue Apr 3, 2024 · 1 comment

Comments

@matejstrasek
Copy link

matejstrasek commented Apr 3, 2024

Using default configuration of next-logger is crashing my pm2 cluster of two instances (there is no logs in the console and machine becomes unhealthy).

When using fork mode all works ok.

Any ideas what could be the issue with next-logger when using cluster mode?

@devinrhode2
Copy link

The only weird thing about next logger is the global flag you need to pass into node. I have an older fork that may not have that issue, but it'd be up to you to dig up that old thread/fork. You could search for PRs created by me and get pretty close.

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

No branches or pull requests

2 participants