Open bikashmoktan opened 8 years ago
I have seen similar issues in windows.
2016-10-21 19:35:58 DEBUG freemarker.cache:45 - Couldn't find template in cache for "Extent.ftl"("en_US", UTF-8, parsed); will try to load it.
2016-10-21 19:35:58 DEBUG freemarker.cache:45 - TemplateLoader.findTemplateSource("Extent_en_US.ftl"): Not found
2016-10-21 19:35:58 DEBUG freemarker.cache:45 - TemplateLoader.findTemplateSource("Extent_en.ftl"): Not found
2016-10-21 19:35:58 DEBUG freemarker.cache:45 - TemplateLoader.findTemplateSource("Extent.ftl"): Found
2016-10-21 19:35:58 DEBUG freemarker.cache:45 - Loading template for "Extent.ftl"("en_US", UTF-8, parsed) from "jar:file:
Hello, @agilematrix : Any updates on this, i upgraded to 2.41.2 Extent reports but still this annoying warnings in console logs. Were you able to get rid of these?
I'm seeing this as well. Looking at #210 it seems like @anshooarora stated that,
I believe it's because your project is using a supporter logger: log4j/slf4j.
Indeed he is correct as I am using that logger. I had the rootLogger set to DEBUG, which caused this. Setting rootLogger to INFO or the specific package for freemarker.cache to INFO helps to resolve the issue.
log4j.rootLogger=INFO, CONSOLE
OR
log4j.logger.freemarker.cache = INFO, CONSOLE
Hi,
Do you have any update on this issue, please? Amount of DEBUG logs simply pollutes the output. In my project I'm using logback (which uses SLF4J) which is configured via XML file. Also, I have XML config file for Log4J as some of dependencies use this logging framework.
In both XML files I have root loggers set to INFO and still getting freemark's DEBUG messages presented.
How can I set equivalent of "log4j.logger.freemarker.cache = INFO, CONSOLE" into XML file?
I have at this moment: SLF4J: `
`
Log4j: `
`
Thanks for any help.
Test Case Passes Sys : ubuntu browser :chrome issue: nor generating html report but following console report .
DEBUG 2016-10-01 13:54:22.215 [freemark](): Couldn't find template in cache for "Extent.ftl"("en_US", UTF-8, parsed); will try to load it. DEBUG 2016-10-01 13:54:22.244 [freemark](): TemplateLoader.findTemplateSource("Extent_en_US.ftl"): Not found DEBUG 2016-10-01 13:54:22.246 [freemark](): TemplateLoader.findTemplateSource("Extent_en.ftl"): Not found DEBUG 2016-10-01 13:54:22.246 [freemark](): TemplateLoader.findTemplateSource("Extent.ftl"): Found DEBUG 2016-10-01 13:54:22.247 [freemark](): Loading template for "Extent.ftl"("en_US", UTF-8, parsed) from "jar:file:/home/agilematrix/Documents/agilematrixzone/extentreports-java-v2.41.1/extentreports-java-2.41.1.jar!/com/relevantcodes/extentreports/view/Extent.ftl" Starting ChromeDriver 2.24.417424 (c5c5ea873213ee72e3d0929b47482681555340c3) on port 17922