I am using log4cpp for my C++ project. What I need is to generate log files in custom locations instead of current directory. For that, I have set some environment variables for log file path. The problem is how can I use this environment variables in log4cpp property file so that the log files are generated in that locations.
I tried various options like $(ENV_VAR), ${ENV_VAR}, %ENV_VAR% but none are working.
Thanks, Hemant