I have different logs locations in development and in production, they also may be different platforms, so I want to configure the logs just one time using a environment variable.
Possible locations: C:/logs/ T:/logs/ /var/logs/
In this question they need just that, but it is applied to Java and is using the Java system properties, obviously not available in C++.
So, is there a way to use a environment variable in the log4cxx config file?