title: java.util.logging.Logger and org.apache.log4j.Logger in one application - will the first one log as log4j?
body: <p>I have written a method for closing files</p>
  
  <pre><code>private void closeFiles(Closeable ... files) {
      for (Closeable file : files) {
          if (file != null) {
              try {
                  file.close();
              } catch (IOException ioe) {
                  // org.apache.log4j.Logger
                  logger.error("Unable to close file.", ioe);
              }
          }
      }
  }
  </code></pre>
  
  <p>and then I found out that Guava provides the <code>closeQuietly</code> method which basicaly does the same thing. The only difference is using <code>java.util.logging.Logger</code> for logging. If an exception occurs in Guava, will it be logged into a file (configured for <code>log4j</code>) or not?</p>