« Return to Thread: Dynamic TopComponent

Re: Dynamic TopComponent

by Marek Slama :: Rate this Message:

Reply to Author | View in Thread

I]ark wrote:

>
>> If you really want to remove it you can set log level for
>> PersistenceManager higher than Level.INFO
>> -J-Dorg.netbeans.core.windows.persistence.PersistenceManager.level=900
>>
>> WARNING is 900
>> INFO is 800
>>
>> Also Level.INFO is used only once for given ID. Next is FINE.
>>
>> You can see method PersistenceManager.getTopComponentPersistentForID
>>
>> Marek
>>  
>    If I try to put in the compilation command, it says " javac:
> invalid
> flag:-J-Dorg.netbeans.core.windows.persistence.PersistenceManager.level
> = 900 "
> Also I can not access the class ersistenceManager and then to see the
> methods. How do I get?
>
This is runtime command to set log level for this class. It must be put
to command line when you start your app
or to netbeans.conf at line with params.

I meant you can 'look' at sources how exactly log level is assigned in
method mentioned above.

M.

 « Return to Thread: Dynamic TopComponent