tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: how to disable DEBUG log in Tomcat when deploy openEJB+JSF+JPA web app
Date Fri, 27 Feb 2015 08:55:52 GMT
just give us a small recipe like:

1) download tomee.zip
2) unzip tomee.zip in tomee/
3) add this war

etc




Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau


2015-02-27 9:49 GMT+01:00 robyp7 . <robyp7@gmail.com>:
> Excuse me,what you mean for "If you can reproduce it easyly with few step" ?
>
> Where could be this log4J config? I havent a log4J configuration in my web
> app
> maybe i could be found it in Apache CFX?
>
> in my log:
>>> Using
>> org.apache.cxf.common.logging.Slf4jLogger for logging.
> ?
> thanks
>
> 2015-02-27 9:43 GMT+01:00 Romain Manni-Bucau <rmannibucau@gmail.com>:
>
>> Hi
>>
>> with these info it is hard to help you cause you seem to have a custom
>> config (that's not default log format) but the config is surely the
>> slf4j one. If you can reproduce it easyly with few step we could look
>> further
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2015-02-27 9:37 GMT+01:00 robyp7 . <robyp7@gmail.com>:
>> > Hi,
>> >
>> >  i need a help about tomee plus logging . I install the war application
>> of
>> > tomee inside my Apache Tomcat 7.0.56  like tomee documentation page
>> > describe (activation via link http://localhost:port/tomee)
>> >
>> > I doesn't edit new my  conf/logging.properties (all tomee log handlers
>> with
>> > # )but when i deploy my web app (jsf + jpa)
>> > i get a lot of time before my app deployed successfully because Tomcat
>> > spend a lot of time writing DEBUG log in console like that:
>> >
>> >
>> > 26/02/2015 16:40:01.649 DEBUG [main] LogUtils: Using
>> > org.apache.cxf.common.logging.Slf4jLogger for logging.
>> > 26/02/2015 16:40:02.744 DEBUG [localhost-startStop-1] sax:
>> >
>> setDocumentLocator(org.apache.xerces.parsers.AbstractSAXParser$LocatorProxy@1c92229
>> > )
>> > 26/02/2015 16:40:02.745 DEBUG [localhost-startStop-1] sax:
>> startDocument()
>> > ...
>> > 26/02/2015 16:40:02.745 DEBUG [localhost-startStop-1] Digester:   Pushing
>> > body text ''
>> > 26/02/2015 16:40:02.745 DEBUG [localhost-startStop-1] Digester:   New
>> > match='faces-config'
>> > 26/02/2015 16:40:02.745 DEBUG [localhost-startStop-1] Digester:   Fire
>> > begin() for
>> >
>> ObjectCreateRule[className=org.apache.myfaces.config.impl.digester.elements.FacesConfig,
>> > attributeName=null]
>> > 26/02/2015 16:40:02.745 DEBUG [localhost-startStop-1] Digester:
>> > [ObjectCreateRule]{faces-config}New
>> > org.apache.myfaces.config.impl.digester.elements.FacesConfig
>> > 26/02/2015 16:40:02.745 DEBUG [localhost-startStop-1] Digester:   Fire
>> > begin() for SetPropertiesRule[]
>> > ...
>> > 26/02/2015 16:40:02.755 DEBUG [localhost-startStop-1] BooleanConverter:
>> > Setting default value: false
>> > 26/02/2015 16:40:02.755 DEBUG [localhost-startStop-1] BooleanConverter:
>> > Converting 'Boolean' value 'false' to type 'Boolean'
>> > 26/02/2015 16:40:03.195 DEBUG [localhost-startStop-1] BooleanConverter:
>> > No conversion required, value is already a Boolean
>> > 26/02/2015 16:40:03.197 DEBUG [localhost-startStop-1] ByteConverter:
>> > Setting default value: 0
>> > 26/02/2015 16:40:03.197 DEBUG [localhost-startStop-1] ByteConverter:
>> > Converting 'Integer' value '0' to type 'Byte'
>> > 26/02/2015 16:40:03.197 DEBUG [localhost-startStop-1] ByteConverter:
>> > Converted to Byte value '0'
>> > 26/02/2015 16:40:03.638 DEBUG [localhost-startStop-1] CharacterConverter:
>> > Setting default value:
>> > 26/02/2015 16:40:03.639 DEBUG [localhost-startStop-1] CharacterConverter:
>> > Converting 'Character' value ' ' to type 'Character'
>> > 26/02/2015 16:40:03.639 DEBUG [localhost-startStop-1] CharacterConverter:
>> >   No conversion required, value is already a ..
>> >
>> >
>> > how can i disable this log or set INFO or WARN level?
>> >
>> > Thanks!
>> >
>> > Roby
>>

Mime
View raw message