Skip to content

Commit 4a0b5ed

Browse files
committed
print version on exec
1 parent 76aeae5 commit 4a0b5ed

File tree

1 file changed

+7
-0
lines changed
  • tessellate-main/src/main/java/io/clusterless/tessellate

1 file changed

+7
-0
lines changed

tessellate-main/src/main/java/io/clusterless/tessellate/Main.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
import io.clusterless.tessellate.util.MetricsPrinter;
1717
import io.clusterless.tessellate.util.Verbosity;
1818
import io.clusterless.tessellate.util.VersionProvider;
19+
import io.clusterless.tessellate.util.Versions;
1920
import io.clusterless.tessellate.util.json.JSONUtil;
21+
import org.slf4j.Logger;
22+
import org.slf4j.LoggerFactory;
2023
import picocli.CommandLine;
2124

2225
import java.io.IOException;
@@ -34,6 +37,8 @@
3437
sortOptions = false
3538
)
3639
public class Main implements Callable<Integer> {
40+
private static final Logger LOG = LoggerFactory.getLogger(Main.class);
41+
3742
public enum Show {
3843
formats,
3944
protocols,
@@ -180,6 +185,8 @@ public Integer call() throws IOException {
180185

181186
private Integer executePipeline(PipelineDef pipelineDef) throws IOException {
182187
try {
188+
LOG.info("tessellate version: {}", Versions.clsVersion());
189+
183190
Pipeline pipeline = new Pipeline(pipelineOptions, pipelineDef);
184191

185192
metrics.start(pipeline);

0 commit comments

Comments
 (0)