Re: Disable log window

View: New views
4 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Disable log window

by thron7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

kuzmeech@... wrote:
> Hi, Unfortunately specifying
>   APPLICATION_SOURCE_LOG_LEVEL = off
> in
>   frontend\framework\tool\make\application.mk

For one thing, you don't change the application.mk, you just put the new
settings in your skeleton Makefile (the application.mk is only for
defaults which get overridden by local Makefile settings).

> didn't help with skeleton-helloworld tutorial (http://qooxdoo.org/documentation/0.7/hello_world_tutorial)

Which version was misbehaving, was it the source or the build version of
you skeleton?!
What was Pirlo's solution when he had the problem?

Thomas

>
> Is there an easy way to hide debug window by switch?
>
> Thank you,
>
>
> thron7 wrote:
>> Pirlo wrote:
>>> Hi!
>>>
>>> I´m trying to disable the log pop up. But I don´t manage it.. I have
>>> searched other threads but I tried differents things like writing  
>>> qx.dev.log.Logger.ROOT_LOGGER.setMinLevel(qx.dev.log.Logger.LEVEL_OFF);
>>> or
>>> something similar and thats doesn´t work...
>>>
>>> please I need to close  log pop up!
>>>
>>> thanks!
>>>  
>> Pirlo,
>>
>> the log window should be off by default in the build version of your
>> app. Get back if this is not the case.
>>
>> If you want to disable the log window for the source version, try
>> setting APPLICATION_SOURCE_LOG_LEVEL = off in the Makefile and re-run
>> make. If that doesn't work, try removing all appenders in your app using
>> removeAllAppenders(), or setting your log appender to
>> qx.log.appender.RingBuffer, which stores all messages internally (but
>> this consumes memory!).
>>
>> HTH,
>> Thomas
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@...
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
> Quoted from:
> http://www.nabble.com/Disable-log-window-tp17596301p17596695.html
>
>
>


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Re: Disable log window

by Ben G-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


If I can chime in here, this post if very close to what I am looking for.  I
have written a macro to take pixel data from an image, compute values and
draw a graph.  A log window immediately pops up with the data list in it.  I
don't want the log at all.  Is there any way I can turn it off or close it.
I am only working in the macro environment.

Thanks
----------------------------------------------------


thron7 wrote:

>
> kuzmeech@... wrote:
>> Hi, Unfortunately specifying
>>   APPLICATION_SOURCE_LOG_LEVEL = off
>> in
>>   frontend\framework\tool\make\application.mk
>
> For one thing, you don't change the application.mk, you just put the new
> settings in your skeleton Makefile (the application.mk is only for
> defaults which get overridden by local Makefile settings).
>
>> didn't help with skeleton-helloworld tutorial
>> (http://qooxdoo.org/documentation/0.7/hello_world_tutorial)
>
> Which version was misbehaving, was it the source or the build version of
> you skeleton?!
> What was Pirlo's solution when he had the problem?
>
> Thomas
>
>>
>> Is there an easy way to hide debug window by switch?
>>
>> Thank you,
>>
>>
>> thron7 wrote:
>>> Pirlo wrote:
>>>> Hi!
>>>>
>>>> I´m trying to disable the log pop up. But I don´t manage it.. I have
>>>> searched other threads but I tried differents things like writing  
>>>> qx.dev.log.Logger.ROOT_LOGGER.setMinLevel(qx.dev.log.Logger.LEVEL_OFF);
>>>> or
>>>> something similar and thats doesn´t work...
>>>>
>>>> please I need to close  log pop up!
>>>>
>>>> thanks!
>>>>  
>>> Pirlo,
>>>
>>> the log window should be off by default in the build version of your
>>> app. Get back if this is not the case.
>>>
>>> If you want to disable the log window for the source version, try
>>> setting APPLICATION_SOURCE_LOG_LEVEL = off in the Makefile and re-run
>>> make. If that doesn't work, try removing all appenders in your app using
>>> removeAllAppenders(), or setting your log appender to
>>> qx.log.appender.RingBuffer, which stores all messages internally (but
>>> this consumes memory!).
>>>
>>> HTH,
>>> Thomas
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> qooxdoo-devel@...
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>>
>> Quoted from:
>> http://www.nabble.com/Disable-log-window-tp17596301p17596695.html
>>
>>
>>
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@...
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

--
View this message in context: http://n2.nabble.com/Re%3A-Disable-log-window-tp526945p720137.html
Sent from the qooxdoo mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Re: Disable log window

by Jim Hunter-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I do two things to disable the log window:
 
qx.log.Logger.ROOT_LOGGER.removeAllAppenders();
qx.log.Logger.ROOT_LOGGER.setMinLevel(qx.log.Logger.LEVEL_ERROR);
 
The first one disables the log window popup and the second reduces the error level. I'm not sure if you need the second if you have the first line, but I do them both anyway for my release software. For debugging I use FireFox with FireBug and all my log entries go to the FireBug console.
 
Jim
 


 
On Tue, Aug 12, 2008 at 10:36 AM, Ben G <grc@...> wrote:

If I can chime in here, this post if very close to what I am looking for.  I
have written a macro to take pixel data from an image, compute values and
draw a graph.  A log window immediately pops up with the data list in it.  I
don't want the log at all.  Is there any way I can turn it off or close it.
I am only working in the macro environment.

Thanks
----------------------------------------------------


thron7 wrote:
>
> kuzmeech@... wrote:
>> Hi, Unfortunately specifying
>>   APPLICATION_SOURCE_LOG_LEVEL = off
>> in
>>   frontend\framework\tool\make\application.mk
>
> For one thing, you don't change the application.mk, you just put the new
> settings in your skeleton Makefile (the application.mk is only for
> defaults which get overridden by local Makefile settings).
>
>> didn't help with skeleton-helloworld tutorial
>> (http://qooxdoo.org/documentation/0.7/hello_world_tutorial)
>
> Which version was misbehaving, was it the source or the build version of
> you skeleton?!
> What was Pirlo's solution when he had the problem?
>
> Thomas
>
>>
>> Is there an easy way to hide debug window by switch?
>>
>> Thank you,
>>
>>
>> thron7 wrote:
>>> Pirlo wrote:
>>>> Hi!
>>>>
>>>> I´m trying to disable the log pop up. But I don´t manage it.. I have
>>>> searched other threads but I tried differents things like writing
>>>> qx.dev.log.Logger.ROOT_LOGGER.setMinLevel(qx.dev.log.Logger.LEVEL_OFF);
>>>> or
>>>> something similar and thats doesn´t work...
>>>>
>>>> please I need to close  log pop up!
>>>>
>>>> thanks!
>>>>
>>> Pirlo,
>>>
>>> the log window should be off by default in the build version of your
>>> app. Get back if this is not the case.
>>>
>>> If you want to disable the log window for the source version, try
>>> setting APPLICATION_SOURCE_LOG_LEVEL = off in the Makefile and re-run
>>> make. If that doesn't work, try removing all appenders in your app using
>>> removeAllAppenders(), or setting your log appender to
>>> qx.log.appender.RingBuffer, which stores all messages internally (but
>>> this consumes memory!).
>>>
>>> HTH,
>>> Thomas
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> qooxdoo-devel@...
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>>
>> Quoted from:
>> http://www.nabble.com/Disable-log-window-tp17596301p17596695.html
>>
>>
>>
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@...
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

--
View this message in context: http://n2.nabble.com/Re%3A-Disable-log-window-tp526945p720137.html
Sent from the qooxdoo mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



--
Jim Hunter

DAILY THOUGHT: SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD
FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Re: Disable log window

by jasonpsage :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thank you Jim! This is very helpful!

I just found out about and installed qooxdoo today, and the step by step
howto doesn't work for 0.7.3 (I think Cygwin install is different - I mean,
the Python referenced in the makefile is under /usr/lib and the makefile for
qooxdoo seems to be /lib (I tried copying Python2.5 to /usr/lib still no
dice. Now I am almost done doing a 100% Cygwin install...

Retgardless if I can get the sdk to work or not - I'm starting to make a
little progress using the build download, and cut-n-pasting demo stuff to a
copy of the "quickstart"... and you little reply here got rid of the pesky
log window :) Thankx Again!

--Jason P Sage


Jim Hunter wrote:

>
> I do two things to disable the log window:
>
> qx.log.Logger.ROOT_LOGGER.removeAllAppenders();
> qx.log.Logger.ROOT_LOGGER.setMinLevel(qx.log.Logger.LEVEL_ERROR);
>
> The first one disables the log window popup and the second reduces the
> error
> level. I'm not sure if you need the second if you have the first line, but
> I
> do them both anyway for my release software. For debugging I use FireFox
> with FireBug and all my log entries go to the FireBug console.
>
> Jim
>

--
View this message in context: http://n2.nabble.com/Re%3A-Disable-log-window-tp526945p729899.html
Sent from the qooxdoo mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel