title: Java logging.properties file only print specific logger
body: <p>I am using a .jar file and read from a <code>logging.properties</code> file.</p>
  
  <p>This is the command I use to start the application ( a proxy application )</p>
  
  <p><code>java -Djava.util.logging.config.file=logging.properties -jar CMDHL7Proxy_v0.7.jar</code></p>
  
  <p>I already configured the file <code>logging.properties</code> to log to a file.</p>
  
  <p>This is the content of my <code>logging.properties</code> file:</p>
  
  <pre><code>handlers= java.util.logging.FileHandler
  
  java.util.logging.FileHandler.pattern = /opt/log/Proxy_%u_%g.log
  java.util.logging.FileHandler.limit = 50000
  java.util.logging.FileHandler.count = 1
  java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
  
  # Facility specific properties. Provides extra control for each logger.
  # For example, set the com.xyz.foo logger to only log SEVERE messages:
  com.xyz.foo.level = SEVERE
  ca.uhn.log.HapiLogImpl = OFF
  au.id.czapski.hl7.SimpleForwardApplicaiton = ALL
  </code></pre>
  
  <p>If I look into the <code>.log</code> file then I see log messages from:</p>
  
  <p><code>Jan 28, 2019 5:48:31 PM ca.uhn.log.HapiLogImpl info 
  &lt;.... logged content .... &gt; 
  &lt;.... logged content .... &gt;</code></p>
  
  <p>and </p>
  
  <p><code>Jan 28, 2019 5:29:34 PM au.id.czapski.hl7.SimpleForwardApplicaiton processMessage
  &lt;.... logged content .... &gt; 
  &lt;.... logged content .... &gt;</code></p>
  
  <p>My Goal is to <strong>only get messages from</strong> this logger <strong>"au.id.czapski.hl7.SimpleForwardApplicaiton"</strong></p>
  
  <p>My understanding tells me the the last two lines in my <code>logging.properties</code> file should tell java to not log anything from the first logger but everything from the second logger.</p>
  
  <p>I also tried setting different values with <code>.level</code> and <code>java.util.logging.FileHandler.level</code> but to set <code>java.util.logging.FileHandler.level=processMessage</code> did result in a configuration error.</p>
  
  <p>Can someone help me to achieve my desired behavior by only modifying the <code>logging.properties</code> file.</p>