Apache FOP suppresses warnings

I recently set up a Java web app with log4j where in the backoffice we can go down and take the top log level and work so well!

This web app is deployed to Tomcat7 and has 3 components (3 war files):

  • Main war
  • FopServer war (with servlet)
  • Similar FOP war (no servlet)

Everything works fine except for the part where this system does not have a clean log file thanks to FOP logging unnecessary warnings.

I've looked all over the internet and I can't tell the FOP library that I don't want the warning logs to be written to my catalina.out page

What I have done so far:

  • I tried using the system I found to set common-logging.properties to point to my log4j and set log4j.properties.
  • I've tried presetting the classes in SimpleLog so that it only logs me with error or death

Everything I did was in vain and I don't know what else to do. You know something else I can do.

I remember that I am using a FOP can.

 Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:17 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:18 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:18 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:18 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:18 AM org.apache.fop.fo.FONode attributeWarning
WARNING: Warning(0/0): fo:table, table-layout="auto" is currently not supported by FOP
Jun 30, 2017 11:19:18 AM org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm updateData2
WARNING: Line 1 of a paragraph overflows the available area. (fo:block, location: 0/0)
Jun 30, 2017 11:19:18 AM org.apache.fop.layoutmgr.PageBreakingAlgorithm updateData2
WARNING: Part/page 0 overflows the available area in block-progression dimension. (fo:static-content, location: 0/0)
Warning: Could not get charToByteConverterClass!
Jun 30, 2017 11:19:18 AM org.apache.fop.layoutmgr.PageBreakingAlgorithm updateData2
WARNING: Part/page 0 overflows the available area in block-progression dimension. (fo:static-content, location: 0/0)
Jun 30, 2017 11:19:18 AM org.apache.fop.layoutmgr.PageBreakingAlgorithm updateData2
WARNING: Part/page 0 overflows the available area in block-progression dimension. (fo:static-content, location: 0/0)
Jun 30, 2017 11:19:18 AM org.apache.fop.layoutmgr.PageBreakingAlgorithm updateData2
WARNING: Part/page 0 overflows the available area in block-progression dimension. (fo:static-content, location: 0/0)
Jun 30, 2017 11:19:18 AM org.apache.fop.layoutmgr.table.TableLayoutManager getNextKnuthElements
INFO: table-layout="fixed" and width="auto", but auto-layout not supported => assuming width="100%"
Jun 30, 2017 11:19:18 AM org.apache.fop.layoutmgr.PageBreakingAlgorithm updateData2
WARNING: Part/page 0 overflows the available area in block-progression dimension. (fo:static-content, location: 0/0)
Jun 30, 2017 11:19:18 AM org.apache.fop.layoutmgr.PageBreakingAlgorithm updateData2
WARNING: Part/page 0 overflows the available area in block-progression dimension. (fo:static-content, location: 0/0)
Jun 30, 2017 11:19:18 AM org.apache.catalina.core.StandardWrapperValve invoke

      

+3


source to share





All Articles