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

peripherals/eos-evm-ws-proxy: make logging configurable #143

Open
cc32d9 opened this issue Dec 10, 2023 · 0 comments
Open

peripherals/eos-evm-ws-proxy: make logging configurable #143

cc32d9 opened this issue Dec 10, 2023 · 0 comments
Labels
enhancement New feature or request 👍 lgtm

Comments

@cc32d9
Copy link

cc32d9 commented Dec 10, 2023

logger.js has a hardcoded choice for logfiles in the current working directory (error.log and combined.log), which mixes up the code with data, and makes log rotation an additional burden.

As I run services under systemd, I prefer stterr or stdout as logging mechanisms. Others may run it under pm2 and prefer stderr as well.

The logger needs to be flexible, and by default it should output to console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 👍 lgtm
Projects
Status: Todo
Development

No branches or pull requests

2 participants