Enterprise Client Community
Search
Recent Topics
Member Listing
Back to home page
Register
/
Login
Fleixble configuration of directoreis in system.xml/logging.xml
Forum Index
->
Development
Author
Message
01/03/2023 06:59:28
Subject:
Fleixble configuration of directoreis in system.xml/logging.xml
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5387
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
01/03/2023 07:01:41
Subject:
Re:Fleixble configuration of directoreis in system.xml/logging.xml
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5387
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:
Select a forum
CaptainCasa Enterprise Client
-------------
Development
Deployment
Product
Community
Development - Code Snippets
CaptainCasa Structured Data Manager - CC-SDM
-------------
All Issues
Powered by
JForum 2.1.6
©
JForum Team