Say I have an appender defined in the log4j.xml file below.
<appender name="FILE" class="org.apache.log4j.DailyRollingFileAppender">
<param name="File" value="/home/logs/oarm_log.txt" />
<param name="DatePattern" value="'.'yyyy-MM-dd-HH" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p[app=%log4j.webapp.name%] [%t] %c - %m\n" />
</layout>
</appender>
How could I change the value "/home/logs/oarm_log.txt" to a different value that comes from a string found in the actual Java code so that the code determines where to output the .txt file?