diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c3540834..90dd5086 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, windows-latest, macos-latest ] + java: ['17', '21'] name: Test ${{ matrix.os }} runs-on: ${{ matrix.os }} @@ -25,7 +26,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: temurin - java-version: 17 + java-version: ${{ matrix.java }} - name: Install Bash on macOS if: runner.os == 'macOS' diff --git a/agent/src/main/java/com/appland/appmap/record/Recording.java b/agent/src/main/java/com/appland/appmap/record/Recording.java index 4aaf2109..28256222 100644 --- a/agent/src/main/java/com/appland/appmap/record/Recording.java +++ b/agent/src/main/java/com/appland/appmap/record/Recording.java @@ -47,7 +47,8 @@ public Path moveTo(String filePath) { public Path moveTo(Path targetPath) { Path sourcePath = Paths.get(this.file.getPath()); - logger.debug("Moving {} to {}", sourcePath, targetPath); + logger.info("Saving AppMap {}", targetPath::toAbsolutePath); + logger.debug("Moving {}", sourcePath::toString, targetPath::toAbsolutePath); Function tryMove = mover -> { IOException exception = null;