Skip to content

Commit

Permalink
Merge pull request #650 from cqse/ts/41669_fix_logger_class
Browse files Browse the repository at this point in the history
TS-41669 replace class in logging init.
  • Loading branch information
DreierF authored Jan 31, 2025
2 parents a9f9a70 + c3f57cd commit e225f46
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ We use [semantic versioning](http://semver.org/):
- PATCH version when you make backwards compatible bug fixes.

# Next version

- [fix] _agent_: Fix wrong class description of GitMultiProjectPropertiesLocator in logs.
# 34.2.2
- [fix] _teamscale-gradle-plugin_: 401 Unauthorized error when trying to upload reports to Teamscale

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.teamscale.jacoco.agent.commit_resolution.git_properties;

import com.teamscale.jacoco.agent.logging.LoggingUtils;
import com.teamscale.jacoco.agent.options.ProjectAndCommit;
import com.teamscale.jacoco.agent.upload.teamscale.DelayedTeamscaleMultiProjectUploader;
import com.teamscale.jacoco.agent.util.DaemonThreadFactory;
import com.teamscale.jacoco.agent.logging.LoggingUtils;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.annotations.VisibleForTesting;
import org.slf4j.Logger;
Expand All @@ -22,7 +22,7 @@
*/
public class GitMultiProjectPropertiesLocator implements IGitPropertiesLocator {

private final Logger logger = LoggingUtils.getLogger(GitSingleProjectPropertiesLocator.class);
private final Logger logger = LoggingUtils.getLogger(this);

private final Executor executor;
private final DelayedTeamscaleMultiProjectUploader uploader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.teamscale.jacoco.agent.commit_resolution.git_properties;

import com.teamscale.jacoco.agent.logging.LoggingUtils;
import com.teamscale.jacoco.agent.upload.delay.DelayedUploader;
import com.teamscale.jacoco.agent.util.DaemonThreadFactory;
import com.teamscale.jacoco.agent.logging.LoggingUtils;
import org.checkerframework.checker.nullness.qual.Nullable;
import org.slf4j.Logger;

Expand All @@ -19,7 +19,7 @@
*/
public class GitSingleProjectPropertiesLocator<T> implements IGitPropertiesLocator {

private final Logger logger = LoggingUtils.getLogger(GitSingleProjectPropertiesLocator.class);
private final Logger logger = LoggingUtils.getLogger(this);
private final Executor executor;
private T foundData = null;
private File jarFileWithGitProperties = null;
Expand Down

0 comments on commit e225f46

Please sign in to comment.