Re: Modeler working again

From: Holger Hoffstätte (holge..izards.de)
Date: Mon Mar 17 2003 - 21:26:24 EST

  • Next message: Holger Hoffstätte: "Re: Configuration update & remaining issue"

    Andrus Adamchik wrote:
    > I can see you stayed busy today ;). Just did a quick modeler test.
    > Seems to work just fine. The only thing that I haven't figured out

    Good to know that it does not only work for me :)

    > (without looking at the code) is logging. You said the modeler will
    > create a configure preferences (cayenne-log.properties, I assume) to

    No, it writes the two new keys into modeler.preferences, just like window
    size etc.

    > log as was previously done to ~/.cayenne/modeler.log. Well this didn't
    > happen for me. In fact logging seems to be disabled for the modeler.

    Sorry, I tried again and just fixed a stupid bug that prevented creation
    of the logfile if it didn't exist yet. please try again or have a look at
    Editor.configureLogging().

    By default (and when the keys don't exist in the prefs file) logging still
    goes to ~/.cayenne/modeler.log. To disable the logfile you have to edit
    modeler.preferences and set Editor.logfileEnabled to false. All this is in
    preparation for a Preferences panel, of course.

    Holger



    This archive was generated by hypermail 2.0.0 : Mon Mar 17 2003 - 21:30:25 EST