Deployed application in jelastic environment. Application is working fine - all screens functional. However sever log not visible please refer screenshot. Think some configuration is missing. Please let me know which one and where to set it.
Thanks
Deployed application in jelastic environment. Application is working fine - all screens functional. However sever log not visible please refer screenshot. Think some configuration is missing. Please let me know which one and where to set it.
Thanks
Hi,
Which version of the platform do you use?
Have you modified the logDir application property?
Try to connect to your cloud environment using Jelastic administrative panel and check which settings are in conf/logging.properties file.
Also, check it the logs are available.
Thanks for response.
I am using platform-6.7.2. Havenāt changed logDir application property. Log file s are available under logs directory in catalina base. Attaching logging.properties file,
Thanks,
Abhishek
logging.properties.txt (3.5 KB)
Appreciate any more pointers. How can I get server logs?
Thanks
Abhishek
Hi,
We have probably found the cause of the problem.
Which value have you specified in the āApp homeā property of deployment settings?
If it differs from default āā¦ā logs might be not found as ācuba.logDir = ${app.home}/logsā is written to local.app.properties.
To solve the problem try to add ācuba.logDirā : ā${catalina.base}/logsā to app properties map.
task jelasticBuildWar(type: CubaWarBuilding) {
appHome = 'app'
webXmlPath = 'modules/web/web/WEB-INF/single-war-web.xml'
appProperties = ['cuba.automaticDatabaseUpdate' : true, 'cuba.logDir' : '${catalina.base}/logs']
includeJdbcDriver = true
includeContextXml = true
hsqlInProcess = true
Or set this property at runtime: find /opt/tomcat/webapps/${Context}/WEB-INF/local.app.properties and specify ā${catalina.base}/logsā there.