question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cleanup stdout log, AGAIN!

See original GitHub issue
2017-03-30 10 37 05

一般情况下,作为使用者:

  • 没人在意 start with options 的内容,更别说它永远都是相同内容;
  • start with env: isProduction: false, isDebug: false, EGG_SERVER_ENV: undefined, NODE_ENV: development 这里或许 ENV 显示有用,但 undefined isDebug isProduction 似乎永远都是这样的值,那换个角度,仅在开启的时候显示出来呢?
  • Agent Worker 这 4 段完全没必要存在
  • =================== egg start ===================== 可以去掉了,好多余

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
atian25commented, Mar 30, 2017

感觉可以优化下

0reactions
popomorecommented, Nov 3, 2017

可以在 egg-development 来覆盖 console 的 format

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cleanup STDOUT and STDERR messages from salmon-0.10.2
Hi, would you mind cleaning up the STDOUT and STDERR output from salmon quant and salmon index? Commonly STDOUT should be used for...
Read more >
python - How to write to stdout AND to log file simultaneously ...
I am using Popen to call a shell script that is continuously writing its stdout and stderr to a log file.
Read more >
Cleanup redirected output file from failed command
It would redirect STDOUT output to a file; If the command fails it would remove output file; In all case it would return...
Read more >
App Logging in Cloud Foundry
This topic describes how Loggregator, the Cloud Foundry (Cloud Foundry) component responsible for logging, provides a stream of log output ...
Read more >
Managing Linux Logs - The Ultimate Guide To Logging - Loggly
... attempt to send a packet, and if the delivery fails, it doesn't try again. ... Some applications output log data in UDP...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found