westor schrieb:
> Thank you, but I canot bring this to work. I tryed it in top of main method
> and I tryed it in the html-file which loads the qooxdoo code. Do I have to
> initialize something before?
> If I'm looking in the manual for 0.7 the code is  the same as for 0.6.6:
> http://qooxdoo.org/documentation/0.7/the_logging_system
> <<<< snip
> If you want to turn off logging except for errors in your built script, you
> can put this in your main html page:
>
>    //
>    // Set up logging as appropriate
>    //
>    if (qx.IS_SOURCE)            // only supplied for in source version
>       {
>       qx.log.Logger.ROOT_LOGGER.setMinLevel(qx.log.Logger.LEVEL_DEBUG);
>       }
>    else
>       {
>       qx.log.Logger.ROOT_LOGGER.setMinLevel(qx.log.Logger.LEVEL_ERROR);
>       };
> snap >>>>
>   

Thanks for pointing at this. This documentation is outdated. Now you 
have to use:

if (qx.Setting.get("qx.isSource")) {...}

I have updated the documentation of this.

Best Fabian

>
> Peter Schneider-2 wrote:
>   
>> Hi,
>>
>> we had the same problem here. Replacing
>>     
>>> if (qx.IS_SOURCE) {
>>>       
>> by
>>     
>>> if (qx.core.Variant.isSet("qx.debug", "on")) {
>>>       
>> did the trick.
>>
>> /Kuddel
>>
>> -------- Original --------
>> From: westor
>> Date: 29.06.2007 13:09
>>
>>     
>>> Has in 0.7 the behaviour of logging changed in relation to 0.6.6?
>>> I have the following code in top of main:
>>> if (qx.IS_SOURCE) {
>>>     qx.log.Logger.ROOT_LOGGER.setMinLevel(qx.log.Logger.LEVEL_ALL);
>>> } else {
>>>     qx.log.Logger.ROOT_LOGGER.setMinLevel(qx.log.Logger.LEVEL_ERROR);
>>> };
>>> Now, when I have an error, eg. any undefined widget exception, I get
>>> these
>>> errors only in Javascript console, not in the Qooxdoo log-window, like it
>>> was in 0.6.6
>>> Torsten
>>>       
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>>     
>
>   


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to