Inappropriate warning log generation
Ivan Smahin
ivan_smahin at paradigmasoft.com
Thu Nov 3 02:39:19 CDT 2011
On 11/2/2011 3:21 PM, jda wrote:
> Hi Ruslan,
>
> I have turned of warnings, and yet some of my users are reporting the
> creation of Valentina warning logs (in a VLogs folder) in their
> Applications folder when they run my app.
>
> Here is an example:
>
>
> *****************************************************************
> This log contains warnings from Valentina engine.
> This log is useful during development and debugging.
> To disable it for RELEASE, just after Valentina.Init() do
> Valentina.SqlQuery( "SET PROPERTY WarningMode TO FALSE" );
> *****************************************************************
> 20111025_072152 : IncreaseMapSize : SegmentMap size = 24
>
> ----------------------
>
> Here's an example of what I'm doing
>
> myDatabase = new MyAppDatabase
> call myDatabase.SQLExecute("SET PROPERTY WarningMode TO FALSE")
>
>
The trick is - do it just after Valentina.Init() - before open any db.
--
Best regards,
Ivan Smahin
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com
More information about the Valentina
mailing list