logDirectory
This option was added in Profound.js version 7.6.0.
Description
This option controls the directory for log files written by the Profound.js process (see logging for more information).
It can be set to either an absolute path, or a path relative to the Profound.js installation directory. The directory is created automatically, if necessary, at the time the configuration is applied.
Default Value
Instance started with STRTCPSVR on IBM i -
/profoundjs-base/instances/INSTANCE_NAME/logs;Otherwise -
INSTALLATION_DIRECTORY/logs.
Example
Write logs to a dedicated directory outside the installation, so that reinstalling the product does not disturb them. Note that backslashes must be escaped in a JavaScript string:
logDirectory: "c:\\logs"For information on how to modify this setting, see Configuration File.