This week we had a developer turn on Debug=true in CS and then deploy all the way to production without realizing of the change made.
Sure enough we started getting all sorts of emails and calls because "the application went crazy". If we had a setting similar to init=true that one can pass to MG and then see the debug output only when required, then that would prevent mistakes like the ones we experienced this week. I swore there was a setting similar to that (debug=true) somewhere in CF, was it another framework? or maybe CF itself? anybody knows? In any case having it in MG would make a big difference. Fernando On Fri, Oct 30, 2009 at 12:25 AM, Jared Rypka-Hauer <[email protected] > wrote: > > Hrm... dude I'd have to go back and look but I don't think that MG > actually exposes the debug output to the controllers. > > That's an awesome ER tho... I'm thinking where if you have debug=true, > you could add logfile="path/to/log" and have it stuff all the debug > output in the logfile instead of on-screen. > > I like it, actually... specifically for situations like this, or even > for application-level logging since it would then put trace statements > in the log file. > > Anyone else have an opinion? > > J > > On Oct 29, 2009, at 10:52 AM 10/29/09, Stephen Moretti wrote: > > > I have a model glue application embedded inside a CMS. > > > > The CMS is overriding the debug settings in my model glue application. > > > > Is there anyway in say onRequestEnd() that I can pipe the debug info > > to a file? > > > > Thanks in Advance > > > > Stephen > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en -~----------~----~----~----~------~----~------~--~---
