How to set up a log4j.properties file for sub packages
<p>I want to create log file for two packages: <code>net.biomodels.jummp.indexing</code> and <code>net.biomodels.jummp.indexing.solrindexer</code>. However, it does not work as I expect. The log only contains what are involving in <code>net.biomodels.jummp.indexing</code> package.
Could you help me finding out the missing of the following logging configuration?  </p>

<pre><code>log4j.rootLogger=WARN, R

# everything goes to the general log
log4j.logger.net.biomodels.jummp.indexing=DEBUG, stdout, R
log4j.additivity.net.biomodels.jummp.indexing=false

# I want to log classes in solrindexer package, underneath indexing package
log4j.logger.net.biomodels.jummp.indexing.solrindexer=INFO, stdout, R
log4j.additivity.net.biomodels.jummp.indexing.solrindexer=false

## general log
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=logs/general.log
log4j.appender.R.MaxFileSize=1MB
log4j.appender.R.MaxBackupIndex=1
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%5p %t %d{ISO8601} %c{2} - %m%n
</code></pre>