With the 21.0 Web Interface component, is it possible to change the path for logging? For instance, is it supported to update:
<file>${log_path:-}${HOSTNAME}_${app_name:-ECC}_LOG.00.txt</file>
...
<fileNamePattern>${log_path:-}${HOSTNAME}_${app_name:-ECC}_LOG.0%i.txt</fileNamePattern>
to
<file>\tmp\logs\${HOSTNAME}_${app_name:-ECC}_LOG.00.txt</file>
...
<fileNamePattern>\tmp\logs\${HOSTNAME}_${app_name:-ECC}_LOG.0%i.txt</fileNamePattern>
some customers keep their log files in a specific folder that is not the default; for example:
/var/lib/tomcat/logs
/uc4files/
Release : 21.0
Component : AUTOMATION ENGINE
With the jetty AWI in v21, the ${log_path:-} should not be changed in the logback.xml file.
This is mentioned in the documentation as well: Important! Do not change any other parameters in this file. Changing other parameters might prevent CA Automic from investigating situations that cause errors.
For the Jetty AWI implementation in version 21, the ${log_path:-} variable is a hard coded log folder setting and does not allow for changes.
The recommendation if another folder should be used is to use symbolic links to the WebInterface/osgi-tmp/0 directory.
An enhancement request can also be created for being able to change this in future versions.