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

Unable to hide timestamps using pm2-docker #2703

Closed
wyqydsyq opened this issue Feb 9, 2017 · 2 comments
Closed

Unable to hide timestamps using pm2-docker #2703

wyqydsyq opened this issue Feb 9, 2017 · 2 comments

Comments

@wyqydsyq
Copy link

wyqydsyq commented Feb 9, 2017

I'm using PM2 inside Docker with the pm2-docker binary, I have specified log_date_format: '' in my process.yml yet PM2 still outputs timestamps in the logs.

I'm using Winston to log from my application which appends it's own timestamps, resulting in my output having the time twice:
image

@vmarchaud
Copy link
Contributor

thanks for the bug report, it come from the fact that a timestamp is hardcoded here, if you can make a PR it would be perfect otherwise i'll make a fix soon.

@vmarchaud
Copy link
Contributor

Released in pm2 2.4.1

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

No branches or pull requests

2 participants