-
September 29th, 2023, 08:43 AM
#1
I can't understand what you mean. Even though the configuration file is replaced with an external one, it is still found by the Server in the original folder, hence the relative paths included should not change.
If you want to use environment variables to modify the contents of the configuration file, this is possible, provided that you prepare the file, by placing references to environment variables in the settings that you want to determine from outside.
References to environment variables have the form $env.xxxx, where the "env." prefix should also be enabled by adding the
<env_prefix>env.</env_prefix>
setting.
So, for instance, you can write
<logback_properties>$env.LOG_CONF</logback_properties>
to have the path of the log configuration file searched in the LOG_CONF environment variable.
Note that this can only be used for the whole setting value, not for a part.
Similar Threads
-
By rwadhwa in forum Client SDKs
Replies: 1
Last Post: July 2nd, 2014, 05:18 PM
-
By doraintech in forum Client SDKs
Replies: 12
Last Post: May 26th, 2014, 09:59 AM
-
By motya770 in forum General
Replies: 4
Last Post: April 3rd, 2013, 10:36 AM
-
By eoinoc in forum Client SDKs
Replies: 1
Last Post: October 15th, 2012, 09:21 AM
-
By igindex in forum Client SDKs
Replies: 6
Last Post: March 5th, 2008, 05:06 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 08:23 AM.
Bookmarks