Add logging lines for mkdir of cache file dir
@@ -169,7 +169,11 @@ public class VulnerabilityCacheProcessorPlugin extends Plugin {
outputFile.setWritable(true, false);
outputFile.setReadable(true, false);
- if(!outputFile.getParentFile().exists()) outputFile.getParentFile().mkdirs();
+ if(!outputFile.getParentFile().exists()) {
+ logger.info("Creating directory for the cache file: " + outputFile.getParentFile().toString());
+ var dir = outputFile.getParentFile().mkdirs();
+ logger.info("Result: " + dir);
+ }
if(!outputFile.exists()) outputFile.createNewFile();
FileWriter writer = new FileWriter(outputFile);
