VServer class interface

Ruslan Zasukhin sunshine at public.kherson.ua
Wed May 7 09:51:12 CDT 2003


on 5/7/03 12:24 AM, Igor Gomon at giv_ua at inbox.ru wrote:

>> How about the ini based server variables?
>> 
>> Str = VServer.SystemCatalog     //location of vserver database files
>> long = VServer.CacheSize        // the size of database cache in MB.
>> bool = Vserver.LogToConsole     //enables logging to the console.
>> bool = Vserver.LogToFile        //enables logging to the file.
>> long = Vserver.LogVerbosity     // Verbosity of the the error logs
>>   //0 - display error messages only;
>>   //1 - display errors and warnings;
>>   //2 - display errors, warnings and debugging messages;
>>   //3 - display errors, warnings, debugging messages and command level
> For 'LogToConsole'[r/w], 'LogToFile'[r/w] and 'LogVerbosity'[r/w] properties
> it's not a problem (r/w is read-write access)
> But I think that 'SystemCatalog' and 'CacheSize' properties will be
> read-only. To change it you must change ini-file options and
> restart server. Or may be other way: the properties will be r/w, but changes
> will take effect only after calling Restart() method. I must think more
> about it...

Igor,

I think Keith have told about them all as read only.

You sure you can make LogToConsole read-write?
This need CHANGE ini file automatically,
And restart server.
Although may be you not need restart server, just start to use new values...


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list