Permalink
Browse files

Moving long noisy log messages to debug level

RB=990643
BUG=TOOLS-145719
R=kbalasub,mnchen,jnchen,dhoa,xma,kvidhani,penguyen,ssheng,desnyder,dmajumde,dnozay,obonilla
A=kbalasub,obonilla,desnyder
  • Loading branch information...
Anamika Singh
Anamika Singh committed May 10, 2017
1 parent b818f26 commit 979e81f0558bc8bf0cd3a645a39fbd687cdaeccc
@@ -171,7 +171,8 @@ private void generate(String targetDirectoryPath, String[] sources) throws IOExc
return;
}
_log.info("Generating " + targetFiles.size() + " files: " + targetFiles);
_log.info("Generating " + targetFiles.size() + " files");
_log.debug("Files: " + targetFiles);
outputAvroSchemas(targetDirectory);
}
@@ -146,7 +146,8 @@ public static GeneratorResult run(String resolverPath, String defaultPackage, fi
else
{
modifiedFiles = targetFiles;
_log.info("Generating " + targetFiles.size() + " files: " + targetFiles);
_log.info("Generating " + targetFiles.size() + " files");
_log.debug("Files: "+ targetFiles);
validateDefinedClassRegistration(dataTemplateGenerator.getCodeModel(), dataTemplateGenerator.getGeneratedClasses().keySet());
dataTemplateGenerator.getCodeModel().build(new FileCodeWriter(targetDirectory, true));
}
@@ -183,7 +183,8 @@ public boolean isPersistent(JDefinedClass clazz)
else
{
modifiedFiles = targetFiles;
_log.info("Generating " + targetFiles.size() + " files: " + targetFiles);
_log.info("Generating " + targetFiles.size() + " files");
_log.debug("Files: " + targetFiles);
requestBuilderCodeModel.build(new FileCodeWriter(targetDirectory, true));
dataTemplateCodeModel.build(new FileCodeWriter(targetDirectory, true));
}

0 comments on commit 979e81f

Please sign in to comment.