Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
use logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Praful Makani committed Aug 31, 2020
1 parent a2ebc5b commit 9e409d9
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -34,13 +34,17 @@
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

public class DeleteScheduledQueryIT {

private static final Logger LOGGER = Logger.getLogger(DeleteScheduledQueryIT.class.getName());

private BigQuery bigquery;
private ByteArrayOutputStream bout;
private String name;
Expand Down Expand Up @@ -117,7 +121,7 @@ public void tearDown() {
// restores print statements in the original method
System.out.flush();
System.setOut(originalPrintStream);
System.out.println(bout.toString());
LOGGER.log(Level.INFO, bout.toString());
}

@Test
Expand Down

0 comments on commit 9e409d9

Please sign in to comment.