title: Java logger - apostrophe issues with tokens
body: <p>I have some unexplained behavior with <code>java.util.logging</code>. Let's take a look at these two samples:</p>
  <p>First:</p>
  <pre><code>boolean var = false;
  log.log( Level.WARNING, &quot;Cant {0}&quot;, new Object[] { var } );
  </code></pre>
  <p>output:</p>
  <pre><code>Cant false
  </code></pre>
  <hr />
  <p>Second:</p>
  <pre><code>boolean var = false;
  log.log( Level.WARNING, &quot;Can't {0}&quot;, new Object[] { var } );
  </code></pre>
  <p>output:</p>
  <blockquote>
  <p>Can't {0}</p>
  </blockquote>
  <p>Why does the inclusion of an apostrophe ( ' ) causes the logger not to expand the token?</p>