Hi, I tried to find occurrences of qx.log in all files I am using and contrib files as well. It appears only in my Application.js However, commenting out like this:
// // Enable logging in debug variant // if (qx.core.Environment.get("qx.debug")) // { // // support native logging capabilities, e.g. Firebug for Firefox // qx.log.appender.Native; // // support additional cross-browser console. Press F7 to toggle visibility // //qx.log.appender.Console; // } does not remove the pop up (on F7 press) from the generated app. I have to also add this to the starting of my main(): qx.log.appender.Console.dispose(); to make sure that a console does not appear. I am using QooxDoo 3.0 and building 'source-all' version for development. Thanks and best regards, Vishal Sapre On Fri, Mar 28, 2014 at 5:27 PM, Daniel Wagner <daniel.wag...@1und1.de>wrote: > Hi, > > On 28.03.2014 11:28, Vishal wrote: > > Hello, > > > > I am using QooxDoo inside a headless browser hosted by a desktop GUI > window. > > > > I dont want users to see qx.log.Console window, when they accidentally > > press F7. > > > > What can i do to achieve that? > > > > I have tried to disable the "qx.debug" variant dependency code from my > > application.js. This does not solve it. > > that should be enough to remove the dependency to qx.log.logger.Console. > Please verify these things: > > Make sure you're loading the correct URL (deployment vs. development > version). I lost count of how many times I've wondered why I'm not > seeing my changes, only to find out I had opened the wrong URL. > > The only occurrence of qx.log.appender.Console in your application's > code should be within Application.main, enclosed in an if block that > checks qx.core.Environment.get("qx.debug"). > > The qx.debug variant must be disabled by the job you're using to > generate the deployment version of your app ("build" by default). You > can check this by running the job with the -w flag and scrolling down to > the "Executing: build::build-script" section in the shell output. The > "environment" map should have the key "qx.debug" with the value False. > > If all else fails, you can just delete the reference to > qx.log.appender.Console from your Application.js. Chances are you're > only using log.appender.Native (which uses the browser's own debugging > console) anyway. > > > > > Any help would be highly appreciated. > > > > p.s: I still want that when I debug this app, through the browser's > > native window (development version), I should be able to single step > > through the code etc.. > > > > That shouldn't be affected by the log appenders at all. > > Regards, > Daniel > > > > > Thanks and best regards, > > Vishal Sapre > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > qooxdoo-devel mailing list > > qooxdoo-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >
------------------------------------------------------------------------------
_______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel