@@ -35,13 +35,13 @@ public class BaseSuite {
   public static ExternalResource testEnvironment = new ExternalResource() {
     @Override
     protected void before() {
-      log.info("Preparing test environment");
+      log.finest("Preparing test environment");
       GlobalTestEnvironment.get(SeleniumTestEnvironment.class);
       System.setProperty("webdriver.remote.shorten_log_messages", "true");
     }
     @Override
     protected void after() {
-      log.info("Cleaning test environment");
+      log.finest("Cleaning test environment");
       TestEnvironment environment = GlobalTestEnvironment.get();
       if (environment != null) {
         environment.stop();
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements.  See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership.  The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License.  You may obtain a copy of the License at
//
//   http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied.  See the License for the
// specific language governing permissions and limitations
// under the License.

package com.thoughtworks.selenium;

import com.thoughtworks.selenium.testing.SeleniumTestEnvironment;

import org.junit.ClassRule;
import org.junit.rules.ExternalResource;
import org.junit.rules.RuleChain;
import org.junit.rules.TestRule;
import org.openqa.selenium.environment.GlobalTestEnvironment;
import org.openqa.selenium.environment.TestEnvironment;

import java.util.logging.Logger;

public class BaseSuite {

  private static final Logger log = Logger.getLogger(BaseSuite.class.getName());

  public static ExternalResource testEnvironment = new ExternalResource() {
    @Override
    protected void before() {
      log.info("Preparing test environment");
      GlobalTestEnvironment.get(SeleniumTestEnvironment.class);
      System.setProperty("webdriver.remote.shorten_log_messages", "true");
    }
    @Override
    protected void after() {
      log.info("Cleaning test environment");
      TestEnvironment environment = GlobalTestEnvironment.get();
      if (environment != null) {
        environment.stop();
        GlobalTestEnvironment.set(null);
      }
    }
  };

  public static ExternalResource browser = new ExternalResource() {
    @Override
    protected void after() {
      log.info("Stopping browser");
      try {
        InternalSelenseTestBase.destroyDriver();
      } catch (SeleniumException ignored) {
        // Nothing sane to do
      }
    }
  };

  @ClassRule
  public static TestRule chain =
      RuleChain.outerRule(testEnvironment).around(browser);

}

This is in test code: understanding what we're doing is important in this context.