Results 1 to 7 of 7

Hybrid View

  1. #1
    Thanks Dario. I got the file.

    Is there a way to selectively update specific properties within the lightstreamer_conf.xml file from the container using environment variables, rather than replacing the entire file in the Kubernetes deployment? This is because the configuration file references other files like log_conf.xml and others, and replacing the entire file may disrupt these references.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    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

  1. Replies: 1
    Last Post: July 2nd, 2014, 05:18 PM
  2. Replies: 12
    Last Post: May 26th, 2014, 09:59 AM
  3. How to get not received updates.
    By motya770 in forum General
    Replies: 4
    Last Post: April 3rd, 2013, 10:36 AM
  4. Cookie support in android library
    By eoinoc in forum Client SDKs
    Replies: 1
    Last Post: October 15th, 2012, 09:21 AM
  5. NonVisualTable - no data received from server
    By igindex in forum Client SDKs
    Replies: 6
    Last Post: March 5th, 2008, 05:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 04:45 PM.