[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Fleixble configuration of directoreis in system.xml/logging.xml  XML
Forum Index -> Development
Author Message
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
Offline

(question copied from mail and answered through forum)

...

we are trying to redirect logging to a different folder for operation in the Docker container.

So that we can make the file visible and evaluate from outside the container.

directory=”/opt/payara/XXX/xxxhome/log/”



We still have the problem that we are running our development on a Windows system and the Docker container and live operation on a Linux system.

This means that we need different path information for logging at runtime.

Is there a solution for this?

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
Offline

Please check: https://www.captaincasa.com/docu/eclnt_risc_developersguide/all.html#referencingspecialvaluesviavariables

In short:

${env.xxx}” is the value of environment variable “xxx” (internally resolved by calling Java API System.getenv())

“${sys.xxx}” is the value of system property “xxx” (internally resolved by calling System.getProperty())

Kind regards! Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team