Add JBoss logging
Perform the following steps for JBoss logging:
Open the
standalone.xmlfile in the*<your jboss directory>*/standalone/configurationdirectory.Find the logging subsystem definition (for example,
<subsystem xmlns="urn:jboss:domain:logging:3.0">) and add the following lines of code just after that opening tag:<add-logging-api-dependencies value="false"/> <use-deployment-logging-config value="false"/>Save and close the file.
Navigate to the
pentaho/server/pentaho-server/<your jboss installation directory>/standalone/deploymentsdirectory.Use a ZIP extraction utility to view the contents of the
pentaho.warfile. Do not unzip or extract the contents of the file.Navigate to the
WEB-INF/classesdirectory and open thelog4j2.xmlfile in a text editor. By default, all log files are configured to be written to../logswhich, if not changed, will translate to*<your jboss directory>*/logs.Replace all occurrences of
../logswith${jboss.server.log.dir}.Save and close the file. The ZIP extraction utility might show a prompt asking if you would like to update the file in the
pentaho.wararchive. If this prompt appears, confirm that you would like to update the file.
Last updated
Was this helpful?

