- log4j.rootLogger=DEBUG, A2
- # SqlMap logging configuration...
- log4j.logger.com.ibatis=DEBUG
- log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=DEBUG
- log4j.logger.com.ibatis.common.jdbc.ScriptRunner=DEBUG
- log4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate=DEBUG
- log4j.logger.java.sql.Connection=DEBUG
- log4j.logger.java.sql.Statement=DEBUG
- log4j.logger.java.sql.PreparedStatement=DEBUG
- log4j.logger.java.sql.ResultSet=DEBUG
- # Console output...
- log4j.appender.stdout=org.apache.log4j.ConsoleAppender
- log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
- log4j.appender.stdout.layout.ConversionPattern=%5p [%t] - %m%n
- log4j.appender.A2=org.apache.log4j.FileAppender
- log4j.appender.A2.File=C:/dcsi/twacs.log
- # Truncate 'twacs' if it aleady exists.
- log4j.appender.A2.Append=true
- # Appender A2 uses the PatternLayout.
- log4j.appender.A2.layout=org.apache.log4j.PatternLayout
- log4j.appender.A2.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c %x - %m%n
- #log4j.appender.A2.layout.ConversionPattern=%-5r %-5p [%t] %c{2} - %m%n
It is very common that some columns of the report need to stretch to show all the content in that column. But if you just specify the property " stretch with overflow' to that column(we called text field in jasper report world) , it will just stretch that column and won't change other columns, so the row could be ridiculous. Haven't find the solution from internet yet. So I just review the properties in iReport one by one and find two useful properties(the bold highlighted in example below) which resolve the problems. example: <band height="20" splitType="Stretch" > <textField isStretchWithOverflow="true" pa...
Comments
Post a Comment