On 3/25/2016 9:24 AM, Shawn Heisey wrote: > Solr's main log is written by log4j. With our current log4j version and > configuration method, we cannot use environment variables in the log4j > config, so no generalized solution is possible. Upgrading log4j is on > the todo list, but that requires some work to accomplish, and we're all > volunteers.
Apparently we *can* use java system properties in the log4j config, so saying there's no generalized solution available was premature. This is something I can look at later when I've got some time. Would you be willing to open an "improvement" issue in Jira? Thanks, Shawn