-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Why do my logs look like garbage? #600
Why do my logs look like garbage? #600
Comments
Hello, thanks for reporting, can you show me the logs files instead (the log file, not the output of pm2 log). You can know logs file path by doing Thanks |
And did you set the option --date-log-format ? |
Did you do a |
I just ran that, it's still the same array of numbers |
This is strange, we are on it. Please update PM2:
|
That works, logs are back to the normal not-advanced display, thanks. |
Great. At least, if it was working well, did you liked the new log interface ? |
i have a same error, looks like numbers collection, i already did this But still same, my pm2 version 0.9.5 |
Show me screenshot, log content and so on please. |
Could you give us the line that you're logging? Is it an array? |
Not array. This is my test code.
should i use logging library? tnx |
did you use .json file for configuration? show me your config, pls ;) |
I have just copy/paste your script and did Give me your configuration so that I get the same as you did please (:. |
My script did't start alone, only work with configuration.json. Maybe it is my bad
Thanks |
Emit the string buffer without the log format
It was an issue due to the fork buffer (from a spawned process) that isn't transformed to a string before emitting. |
will i update pm2 now? |
I made a PR this issue will be closed when merge ;) You can test it by using my fork https://github.com/soyuka/pm2 |
It works. Thank you, wish u good :) |
Fix #600, make sure that the buffer is a string
I installed the new release 0.9.4 and now my logs are just all arrays of numbers.
I'm using
console.log('Current Limit:');
Also your documentation is outdated, there's no
![image](https://cloud.githubusercontent.com/assets/1005136/3742051/3d4c8804-1765-11e4-9c19-cf613d27e1a9.png)
ilogs
The text was updated successfully, but these errors were encountered: