Log jasperReport


#1

Olá, bom dia.

Alguém poderia me informar o motivo do Servidor gerar muitos logs do JarperReport no arquivo /opt/Adempiere/jboss/server/adempiere/log/server.log.

43 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@97514b1
2017-11-07 08:22:25,143 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@65a17550
2017-11-07 08:22:25,143 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@4b1d0b50
2017-11-07 08:22:25,143 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@5fd1d7b6
2017-11-07 08:22:25,143 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@49a91edf
2017-11-07 08:22:25,143 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@7e29e840
2017-11-07 08:22:25,143 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@714f0275
2017-11-07 08:22:25,143 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@7a2a8970
2017-11-07 08:22:25,143 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@7ea556b8
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@18e08afd
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@3dc4f4cd
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@4da3de69
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@415ee751
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@3da4985e
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@10f62f0
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@19287b1b
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@30aa3684
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@76e12d11
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@3955f410
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@3a0a63d8
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@2117ad
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@7c995eeb
2017-11-07 08:22:25,144 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@3926d635
2017-11-07 08:22:25,145 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@24b94ee3
2017-11-07 08:22:25,145 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@1ea2beb
2017-11-07 08:22:25,145 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@34e95248
2017-11-07 08:22:25,145 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@4219101b
2017-11-07 08:22:25,145 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@7b707e83
2017-11-07 08:22:25,145 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@168209c5
2017-11-07 08:22:25,145 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@334f700e
2017-11-07 08:22:25,145 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@2445c173
2017-11-07 08:22:25,145 DEBUG [net.sf.jasperreport

8:52:03,808 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Found existing instance net.sf.jasperreports.engine.fill.JRTemplateRectangle@3e294dc4 for object net.sf.jasperreports.engine.fill.JRTemplateRectangle@2a85d0ea
2017-11-07 08:52:03,808 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Found existing instance net.sf.jasperreports.engine.fill.JRTemplateRectangle@3e294dc4 for object net.sf.jasperreports.engine.fill.JRTemplateRectangle@3756c875
2017-11-07 08:52:03,809 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@228295b5
2017-11-07 08:52:03,809 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateLine@2b32afc6
2017-11-07 08:52:03,809 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@cb20652
2017-11-07 08:52:03,809 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Found existing instance net.sf.jasperreports.engine.fill.JRTemplateText@228295b5 for object net.sf.jasperreports.engine.fill.JRTemplateText@7bbcf800
2017-11-07 08:52:03,809 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateImage@333e0777
2017-11-07 08:52:03,809 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@2d5c2fe9
2017-11-07 08:52:03,809 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Found existing instance net.sf.jasperreports.engine.fill.JRTemplateRectangle@3e294dc4 for object net.sf.jasperreports.engine.fill.JRTemplateRectangle@7f4d8142
2017-11-07 08:52:03,809 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Found existing instance net.sf.jasperreports.engine.fill.JRTemplateText@2d5c2fe9 for object net.sf.jasperreports.engine.fill.JRTemplateText@39615559
2017-11-07 08:52:03,809 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Found existing instance net.sf.jasperreports.engine.fill.JRTemplateText@2d5c2fe9 for object net.sf.jasperreports.engine.fill.JRTemplateText@252a637d
2017-11-07 08:52:03,810 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Found existing instance net.sf.jasperreports.engine.fill.JRTemplateText@2d5c2fe9 for object net.sf.jasperreports.engine.fill.JRTemplateText@1e9b69b
2017-11-07 08:52:03,810 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Found existing instance net.sf.jasperreports.engine.fill.JRTemplateLine@2b32afc6 for object net.sf.jasperreports.engine.fill.JRTemplateLine@16d37b18
2017-11-07 08:52:03,810 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Added object net.sf.jasperreports.engine.fill.JRTemplateText@1636705d
2017-11-07 08:52:03,810 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Found existing instance net.sf.jasperreports.engine.fill.JRTemplateText@2d5c2fe9 for object net.sf.jasperreports.engine.fill.JRTemplateText@500af50f
2017-11-07 08:52:03,810 DEBUG [net.sf.jasperreports.engine.util.DeduplicableRegistry] Found existing instance net.sf.jasperreports.engine.fill.JRTemplateText@1636705d for object net.sf.jasperreports.engine.fill.JRTemplateText@7f5ed4d6
2017-11-07 08:52:03,


#2

Edilson,

Como solução existe o arquivo “jboss-log4j.xml” no diretório …/Adempiere/jboss/server/adempiere/conf, que contém configurações de geração de logs do jboss. Basta inserir nesse arquivo a configuração abaixo e restartar a aplicação:

<!-- Limit Log JasperReports --> <category name="net.sf.jasperreports"> <priority value="ERROR"/> </category>

Essa configuração indica que será limitada a geração de logs de “net.sf.jasperreports”, exceto logs do tipo ERROR.