Difference between revisions of "Additional Registry Entries and Environment Variables"

From Lianjapedia
Jump to: navigation, search
(Settings)
 
Line 1: Line 1:
''Under Construction''
 
 
 
==Overview==
 
==Overview==
 
There are additional Lianja Server settings that can be defined as Registry entries (Windows) or environment variables (Linux and Mac).  These can help developers to debug and optimize their Web Apps.
 
There are additional Lianja Server settings that can be defined as Registry entries (Windows) or environment variables (Linux and Mac).  These can help developers to debug and optimize their Web Apps.

Latest revision as of 05:52, 10 October 2019

Overview

There are additional Lianja Server settings that can be defined as Registry entries (Windows) or environment variables (Linux and Mac). These can help developers to debug and optimize their Web Apps.

After modifying the Registry entries or environment variables, restart the Lianja Server.

Windows

Incorrectly modifying the Registry can cause serious problems on your system, so do not proceed if you are not completely sure how to do this. You should consider backing up your registry and using .reg files. Consult the Microsoft support site for full recommendations, e.g. [1]

64 bit Registry Location

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Lianja\Lianja Server\Netserver

32 bit Registry Location

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Lianja\Lianja Server\Netserver

Linux

Environment variables are defined in the text file /etc/lianja.d/lianja.conf.

Mac

Environment variables are defined in the text file /usr/local/lianja/server/conf/lianja.conf.

Settings

Setting Description
DB_CACHE_ENABLED During Web App development you can set DB_CACHE_ENABLED to false to disable caching and set it to true for production systems.
Note that some browsers (Chrome, for example) already disable caching when the developer tools are open. You can uncheck this in the "Network" tab then refresh your app several times to see the caching in operation.
DB_SQLDEBUG During Web App development you can set DB_SQLDEBUG to true. Run the Web App then check the debug directory for sql_debugxxx.log files. These are text files that contain SQL tracing information and show you all the OData calls being made and how the queries were optimized.
DB_WWWAUTOUPDATE When DB_WWWAUTOUPDATE is set to true, auto updating of packages is enabled. See Lianja Package Manager for more information on package updating.
DB_WWWDEBUG During Web App development you can set DB_WWWDEBUG to true. Run the Web App then check the debug directory for firecat_debugxxx.log files. These are text files that contain server activity information.