Unable to get app logs after UberJar deployment

Hi,

I have followed the steps described here to deploy the app with docker:
https://doc.cuba-platform.com/manual-7.2/docker_deployment.html

added this property in uber-jar-logback.xml:

<property name="logDir" value="${app.home}/logs"/>

also added vm option in dockerfile:

-Dapp.home=/opt/sales-home

The container is build & the application is up and running successfully but I don’t see any application logs.

any heads up.

Regards,
Sanchit

Hi,
Maybe, log directory does not exist or is not writeable by the user?

Can you check what is console output of the application server when it starts? Logback writes startup problems to stdout/stderr.

Hi Alex,

Okay I see it now at stdout.

Thanks