tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thusitha Thilina Dayaratne <thusithathil...@gmail.com>
Subject Disable INFO logs when deploying webapps in TomEE
Date Fri, 04 Sep 2015 11:20:40 GMT
Hi,

I've deployed a simple webapp in the tomee-plus 1.7.2
When it get deployed lot of log messages get print in the console as
follows. How can I disable these info logs.
I enable the log levels as follows. But still those logs get print.

> OpenEJB.level             = SEVERE
> OpenEJB.options.level     = INFO
> OpenEJB.server.level      = INFO
> OpenEJB.startup.level     = INFO
> OpenEJB.startup.service.level = WARNING
> OpenEJB.startup.config.level = INFO
> OpenEJB.hsql.level        = INFO
> CORBA-Adapter.level       = WARNING
> Transaction.level         = WARNING
> org.apache.activemq.level = SEVERE
> org.apache.geronimo.level = SEVERE
> openjpa.level             = WARNING
> OpenEJB.cdi.level         = SEVERE
> org.apache.webbeans.level = SEVERE
> org.apache.openejb.level  = SEVERE



What is the log level that I should put inorder to get rid of these logs?

INFO {org.apache.openejb.config.ConfigurationFactory} -  Configuring
> enterprise application:
> /tmp/wso2as-5.3.0-SNAPSHOT/repository/deployment/server/webapps/javaee-examples
> [2015-09-04 16:45:12,907]  INFO
> {org.apache.openejb.config.ConfigurationFactory} -  Configuring
> Service(id=javaee-examples/context.xml/resource, type=Resource,
> provider-id=ProvidedByTomcat)
> [2015-09-04 16:45:12,909]  INFO
> {org.apache.openejb.config.ConfigurationFactory} -  Configuring
> Service(id=javaee-examples/web.xml/resource-ref, type=Resource,
> provider-id=ProvidedByTomcat)
> [2015-09-04 16:45:12,910]  INFO
> {org.apache.openejb.config.ConfigurationFactory} -  Configuring
> Service(id=javaee-examples/web.xml/resource-env-ref, type=Resource,
> provider-id=ProvidedByTomcat)
> [2015-09-04 16:45:12,918]  INFO
> {org.apache.openejb.config.ConfigurationFactory} -  Configuring
> Service(id=Default Stateless Container, type=Container, provider-id=Default
> Stateless Container)
> [2015-09-04 16:45:12,918]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-creating a container for bean HelloEjbService:
> Container(type=STATELESS, id=Default Stateless Container)
> [2015-09-04 16:45:12,926]  INFO
> {org.apache.openejb.config.ConfigurationFactory} -  Configuring
> Service(id=Default JDBC Database, type=Resource, provider-id=Default JDBC
> Database)
> [2015-09-04 16:45:12,927]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-creating a Resource with id 'Default JDBC Database' of type
> 'javax.sql.DataSource for 'HelloEjbService'.
> [2015-09-04 16:45:12,941]  INFO
> {org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource} -  Disabling
> testOnBorrow since no validation query is provided
> [2015-09-04 16:45:12,952]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref 'web.xml/Data Source' in bean HelloEjbService to
> Resource(id=Default JDBC Database)
> [2015-09-04 16:45:12,952]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'java:comp/env/org.superbiz.servlet.AnnotatedServlet/ds' in bean
> HelloEjbService to Resource(id=Default JDBC Database)
> [2015-09-04 16:45:12,953]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'java:comp/env/org.superbiz.servlet.AnnotatedEJB/ds' in bean
> HelloEjbService to Resource(id=Default JDBC Database)
> [2015-09-04 16:45:12,953]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'openejb/Resource/javaee-examples/context.xml/resource' in bean
> HelloEjbService to Resource(id=javaee-examples/context.xml/resource)
> [2015-09-04 16:45:12,953]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref 'openejb/Resource/context.xml/resource' in bean
> HelloEjbService to Resource(id=javaee-examples/context.xml/resource)
> [2015-09-04 16:45:12,954]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'openejb/Resource/javaee-examples/web.xml/resource-ref' in bean
> HelloEjbService to Resource(id=javaee-examples/web.xml/resource-ref)
> [2015-09-04 16:45:12,954]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref 'openejb/Resource/web.xml/resource-ref' in bean
> HelloEjbService to Resource(id=javaee-examples/web.xml/resource-ref)
> [2015-09-04 16:45:12,954]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'openejb/Resource/javaee-examples/web.xml/resource-env-ref' in bean
> HelloEjbService to Resource(id=javaee-examples/web.xml/resource-env-ref)
> [2015-09-04 16:45:12,955]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref 'openejb/Resource/web.xml/resource-env-ref' in
> bean HelloEjbService to
> Resource(id=javaee-examples/web.xml/resource-env-ref)
> [2015-09-04 16:45:12,955]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref 'web.xml/Data Source' in bean SecureEJB to
> Resource(id=Default JDBC Database)
> [2015-09-04 16:45:12,956]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'java:comp/env/org.superbiz.servlet.AnnotatedServlet/ds' in bean SecureEJB
> to Resource(id=Default JDBC Database)
> [2015-09-04 16:45:12,956]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'java:comp/env/org.superbiz.servlet.AnnotatedEJB/ds' in bean SecureEJB to
> Resource(id=Default JDBC Database)
> [2015-09-04 16:45:12,956]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'openejb/Resource/javaee-examples/context.xml/resource' in bean SecureEJB
> to Resource(id=javaee-examples/context.xml/resource)
> [2015-09-04 16:45:12,957]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref 'openejb/Resource/context.xml/resource' in bean
> SecureEJB to Resource(id=javaee-examples/context.xml/resource)
> [2015-09-04 16:45:12,957]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'openejb/Resource/javaee-examples/web.xml/resource-ref' in bean SecureEJB
> to Resource(id=javaee-examples/web.xml/resource-ref)
> [2015-09-04 16:45:12,957]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref 'openejb/Resource/web.xml/resource-ref' in bean
> SecureEJB to Resource(id=javaee-examples/web.xml/resource-ref)
> [2015-09-04 16:45:12,958]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'openejb/Resource/javaee-examples/web.xml/resource-env-ref' in bean
> SecureEJB to Resource(id=javaee-examples/web.xml/resource-env-ref)
> [2015-09-04 16:45:12,958]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref 'openejb/Resource/web.xml/resource-env-ref' in
> bean SecureEJB to Resource(id=javaee-examples/web.xml/resource-env-ref)
> [2015-09-04 16:45:12,958]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref 'web.xml/Data Source' in bean AnnotatedEJB to
> Resource(id=Default JDBC Database)
> [2015-09-04 16:45:12,959]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'java:comp/env/org.superbiz.servlet.AnnotatedEJB/ds' in bean AnnotatedEJB
> to Resource(id=Default JDBC Database)
> [2015-09-04 16:45:12,959]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'java:comp/env/org.superbiz.servlet.AnnotatedServlet/ds' in bean
> AnnotatedEJB to Resource(id=Default JDBC Database)
> [2015-09-04 16:45:12,959]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'openejb/Resource/javaee-examples/context.xml/resource' in bean
> AnnotatedEJB to Resource(id=javaee-examples/context.xml/resource)
> [2015-09-04 16:45:12,960]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref 'openejb/Resource/context.xml/resource' in bean
> AnnotatedEJB to Resource(id=javaee-examples/context.xml/resource)
> [2015-09-04 16:45:12,960]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'openejb/Resource/javaee-examples/web.xml/resource-ref' in bean
> AnnotatedEJB to Resource(id=javaee-examples/web.xml/resource-ref)
> [2015-09-04 16:45:12,960]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref 'openejb/Resource/web.xml/resource-ref' in bean
> AnnotatedEJB to Resource(id=javaee-examples/web.xml/resource-ref)
> [2015-09-04 16:45:12,961]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref
> 'openejb/Resource/javaee-examples/web.xml/resource-env-ref' in bean
> AnnotatedEJB to Resource(id=javaee-examples/web.xml/resource-env-ref)
> [2015-09-04 16:45:12,961]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-linking resource-ref 'openejb/Resource/web.xml/resource-env-ref' in
> bean AnnotatedEJB to Resource(id=javaee-examples/web.xml/resource-env-ref)
> [2015-09-04 16:45:12,962]  INFO {org.apache.openejb.config.AutoConfig} -
>  Configuring PersistenceUnit(name=jpa-example)
> [2015-09-04 16:45:12,963]  INFO {org.apache.openejb.config.AutoConfig} -
>  Auto-creating a Resource with id 'Default JDBC DatabaseNonJta' of type
> 'DataSource for 'jpa-example'.
> [2015-09-04 16:45:12,963]  INFO {org.apache.openejb.config.AutoConfig} -
>  Configuring Service(id=Default JDBC DatabaseNonJta, type=Resource,
> provider-id=Default JDBC Database)
> [2015-09-04 16:45:12,972]  INFO
> {org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource} -  Disabling
> testOnBorrow since no validation query is provided
> [2015-09-04 16:45:12,978]  INFO {org.apache.openejb.config.AutoConfig} -
>  Adjusting PersistenceUnit jpa-example <non-jta-data-source> to Resource ID
> 'Default JDBC DatabaseNonJta' from 'Default Unmanaged JDBC Database'
> [2015-09-04 16:45:12,986]  INFO {org.apache.openejb.config.AppInfoBuilder}
> -  Enterprise application
> "/tmp/wso2as-5.3.0-SNAPSHOT/repository/deployment/server/webapps/javaee-examples"
> loaded.
> [2015-09-04 16:45:12,986]  INFO
> {org.apache.openejb.assembler.classic.Assembler} -  Assembling app:
> /tmp/wso2as-5.3.0-SNAPSHOT/repository/deployment/server/webapps/javaee-examples
> [2015-09-04 16:45:13,358]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=HelloEjbServiceLocal) --> Ejb(deployment-id=HelloEjbService)
> [2015-09-04 16:45:13,359]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=global/javaee-examples/HelloEjbService!org.superbiz.servlet.HelloEjb)
> --> Ejb(deployment-id=HelloEjbService)
> [2015-09-04 16:45:13,359]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=global/javaee-examples/HelloEjbService) -->
> Ejb(deployment-id=HelloEjbService)
> [2015-09-04 16:45:13,360]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=SecureEJBLocal) --> Ejb(deployment-id=SecureEJB)
> [2015-09-04 16:45:13,360]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=global/javaee-examples/SecureEJB!org.superbiz.servlet.SecureEJBLocal)
> --> Ejb(deployment-id=SecureEJB)
> [2015-09-04 16:45:13,360]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=global/javaee-examples/SecureEJB) -->
> Ejb(deployment-id=SecureEJB)
> [2015-09-04 16:45:13,361]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=AnnotatedEJBLocalBean) --> Ejb(deployment-id=AnnotatedEJB)
> [2015-09-04 16:45:13,361]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=global/javaee-examples/AnnotatedEJB!org.superbiz.servlet.AnnotatedEJB)
> --> Ejb(deployment-id=AnnotatedEJB)
> [2015-09-04 16:45:13,362]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=AnnotatedEJBLocal) --> Ejb(deployment-id=AnnotatedEJB)
> [2015-09-04 16:45:13,362]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=global/javaee-examples/AnnotatedEJB!org.superbiz.servlet.AnnotatedEJBLocal)
> --> Ejb(deployment-id=AnnotatedEJB)
> [2015-09-04 16:45:13,363]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=AnnotatedEJBRemote) --> Ejb(deployment-id=AnnotatedEJB)
> [2015-09-04 16:45:13,363]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=global/javaee-examples/AnnotatedEJB!org.superbiz.servlet.AnnotatedEJBRemote)
> --> Ejb(deployment-id=AnnotatedEJB)
> [2015-09-04 16:45:13,363]  INFO
> {org.apache.openejb.assembler.classic.JndiBuilder} -
>  Jndi(name=global/javaee-examples/AnnotatedEJB) -->
> Ejb(deployment-id=AnnotatedEJB)
> [2015-09-04 16:45:13,389]  INFO
> {org.apache.openejb.assembler.classic.Assembler} -  Created
> Ejb(deployment-id=SecureEJB, ejb-name=SecureEJB, container=Default
> Stateless Container)
> [2015-09-04 16:45:13,390]  INFO
> {org.apache.openejb.assembler.classic.Assembler} -  Created
> Ejb(deployment-id=AnnotatedEJB, ejb-name=AnnotatedEJB, container=Default
> Stateless Container)
> [2015-09-04 16:45:13,390]  INFO
> {org.apache.openejb.assembler.classic.Assembler} -  Created
> Ejb(deployment-id=HelloEjbService, ejb-name=HelloEjbService,
> container=Default Stateless Container)
> [2015-09-04 16:45:13,405]  INFO
> {org.apache.openejb.assembler.classic.Assembler} -  Started
> Ejb(deployment-id=SecureEJB, ejb-name=SecureEJB, container=Default
> Stateless Container)
> [2015-09-04 16:45:13,413]  INFO
> {org.apache.openejb.assembler.classic.Assembler} -  Started
> Ejb(deployment-id=AnnotatedEJB, ejb-name=AnnotatedEJB, container=Default
> Stateless Container)
> [2015-09-04 16:45:13,424]  INFO
> {org.apache.openejb.assembler.classic.Assembler} -  Started
> Ejb(deployment-id=HelloEjbService, ejb-name=HelloEjbService,
> container=Default Stateless Container)
> [2015-09-04 16:45:13,704]  INFO
> {org.apache.openejb.assembler.classic.Assembler} -  Deployed
> Application(path=/tmp/wso2as-5.3.0-SNAPSHOT/repository/deployment/server/webapps/javaee-examples)


Thanks
/Thusitha
--

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message