-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Change console transport to write directly to stdout & stderr #163
Conversation
…lows for overriding console.log|error etc without causing an infinite recursive loop
I approve. Will merge. 👍 |
merged. Thanks! |
Cheers Josh Dave On Friday, October 19, 2012 at 2:31 PM, Joshua Holbrook wrote:
|
I realize I'm a bit late to the party, but this was a very bad idea. Having them go to stderr for hidden reasons caused a lot of headaches and a lot of wasted time. You should never make assumptions about where logging output goes unless it's explicitly logged as an |
Pleeeeeeaaase pull tooxie's request! |
@Morriz You can use my fork if you want, I applied this fix and it's currently up to date. I can't promise I will maintain it (i.e. fix bugs) but I could merge any good PR that is pending. I wish I didn't have to fork it, but it was the only alternative for me. Just add |
Yeah, I might do that. Thing is that my current project's dev environment (byod) has the git port closed, so I can only install thru npm. Kind of a hassle and quite strange, but reality :| On 20 aug. 2013, at 09:58, Alvaro Mouriño [email protected] wrote:
|
@Morriz Then rename it and upload it to the npm registry. Is really easy. |
Nah, I don't want to register a fork in npm for adding a config flag. I'd rather keep the modified package in my own repo until the flag gets By having the modified package temporarily sourced under But thanks for thinking along :) On Tue, Aug 20, 2013 at 2:46 PM, Alvaro Mouriño [email protected]:
|
@Morriz What about git over HTTPS? |
It's like I said, I think it's polluting github when everybody starts forking for a missing config flag... |
Changed console transport to log directly to stdout & stderr. This allows for overriding console.log|error etc without causing an infinite recursive loop.
Fixes #162