Skip to content

Commit

Permalink
Remove temporary flag test
Browse files Browse the repository at this point in the history
Change-Id: Ic211af1f06a5106b9eb51dd81648dbb0e793fbe6
  • Loading branch information
mikelalcon committed May 13, 2022
1 parent fc47bc3 commit 91075e1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions java/com/google/copybara/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,6 @@ private CommandResult runInternal(String[] args, Console console, FileSystem fs)
commandEnv = new CommandEnv(baseWorkdir, options, cmdToRun.getArgs(), mainArgs);
generalOptions.console().progressFmt("Running %s", subcommand.name());

// TODO(malcon): Remove this after 2019-09-15, once tested that temp features work.
logger.atInfo().log("Temporary features test: %s",
options.get(GeneralOptions.class).isTemporaryFeature("TEST_TEMP_FEATURES", true));

ExitCode exitCode = subcommand.run(commandEnv);
return new CommandResult(exitCode, subcommand, commandEnv);

Expand Down Expand Up @@ -424,7 +420,7 @@ protected void configureLog(FileSystem fs, String[] args) throws IOException {
LogManager.getLogManager().readConfiguration(new ByteArrayInputStream((
"handlers=java.util.logging.FileHandler\n"
+ ".level=INFO\n"
+ "java.util.logging.FileHandler.level=" + level +"\n"
+ "java.util.logging.FileHandler.level=" + level + "\n"
+ "java.util.logging.FileHandler.pattern="
+ baseDir + "/copybara-%g.log\n"
+ "java.util.logging.FileHandler.count=10\n"
Expand Down

0 comments on commit 91075e1

Please sign in to comment.