diff --git a/Documentation/linux-quickstart.txt b/Documentation/linux-quickstart.txt index aafaf58d46..29bb40903d 100644 --- a/Documentation/linux-quickstart.txt +++ b/Documentation/linux-quickstart.txt @@ -30,10 +30,10 @@ From the Linux machine on which you want to install Gerrit: . Download the desired Gerrit archive. To view previous archives, see -link:https://gerrit-releases.storage.googleapis.com/index.html[Gerrit Code Review: Releases,role=external,window=_blank]. The steps below install Gerrit 3.0.3: +link:https://gerrit-releases.storage.googleapis.com/index.html[Gerrit Code Review: Releases,role=external,window=_blank]. The steps below install Gerrit 3.1.3: .... -wget https://gerrit-releases.storage.googleapis.com/gerrit-3.0.3.war +wget https://gerrit-releases.storage.googleapis.com/gerrit-3.1.3.war .... NOTE: To build and install Gerrit from the source files, see diff --git a/java/com/google/gerrit/server/git/meta/VersionedMetaData.java b/java/com/google/gerrit/server/git/meta/VersionedMetaData.java index 2ed755ae9b..38c8d7dafc 100644 --- a/java/com/google/gerrit/server/git/meta/VersionedMetaData.java +++ b/java/com/google/gerrit/server/git/meta/VersionedMetaData.java @@ -17,6 +17,7 @@ package com.google.gerrit.server.git.meta; import static com.google.common.base.Preconditions.checkArgument; import com.google.common.base.MoreObjects; +import com.google.common.flogger.FluentLogger; import com.google.gerrit.common.Nullable; import com.google.gerrit.entities.Project; import com.google.gerrit.git.GitUpdateFailureException; @@ -70,6 +71,8 @@ import org.eclipse.jgit.util.RawParseUtils; * read from the repository, or format an update that can later be written back to the repository. */ public abstract class VersionedMetaData { + private static final FluentLogger logger = FluentLogger.forEnclosingClass(); + /** * Path information that does not hold references to any repository data structures, allowing the * application to retain this object for long periods of time. @@ -409,6 +412,7 @@ public abstract class VersionedMetaData { // read the subject line and use it as reflog message ru.setRefLogMessage("commit: " + reader.readLine(), true); } + logger.atFine().log("Saving commit: " + message); inserter.flush(); RefUpdate.Result result = ru.update(); switch (result) { diff --git a/java/com/google/gerrit/server/project/ProjectCacheImpl.java b/java/com/google/gerrit/server/project/ProjectCacheImpl.java index 62de2ae962..f5d66df775 100644 --- a/java/com/google/gerrit/server/project/ProjectCacheImpl.java +++ b/java/com/google/gerrit/server/project/ProjectCacheImpl.java @@ -168,7 +168,7 @@ public class ProjectCacheImpl implements ProjectCache { } throw new IOException(e); } - logger.atFine().withCause(e).log("Cannot find project %s", projectName.get()); + logger.atFine().log("Cannot find project %s", projectName.get()); return null; } }