UCCX Application Custom Log

Version 1
    This document was generated from CDN thread

    Created by: Fazil Chida on 22-02-2013 11:08:03 AM
    Hi All, I need a help I am using custom log into my UCCX script(8.5). while viewing the custom log, am able to see logs from this java file "AbstractEntityManagerImpl.java" I want to disable that from my custom log file. To disable it, i want to know the whole package structure of the JAVA file. Can any one tell me in UCCX server where this particular file is store(the whole package structure of it eg: com.cisco.X.X.X.AbstractEntityManagerImpl) Thanks. Fazil

    Subject: RE: UCCX Application Custom Log
    Replied by: Sharik M on 15-03-2013 07:11:08 AM
    Hi Fazil,
                This class AbstractEntityManagerImpl  belongs to hibernate-entitymanager.jar  and the package structure used is org.hibernate.ejb
     
    Regards
    Sharik Saigal M

    Subject: RE: UCCX Application Custom Log
    Replied by: Fazil Chida on 15-03-2013 08:36:34 AM
    Hi Sharik,

    Thanks for the response.
    i want to disable the log which are writing from AbstractEntityManagerImpl  class file, for this i have used additivity method.
    even though i have given the same package stucture, its still writing into my custom log.
    below is the string i have used in my log4j properties
    "log4j.category.org.hibernate.ejb.AbstractEntityManagerImpl=WARN, AbstractEntityManagerImpl
    log4j.additivity.AbstractEntityManagerImpl=false"
    Can you help me on this.

    Thanks
    Fazil

    Subject: RE: UCCX Application Custom Log
    Replied by: Sharik M on 19-03-2013 07:40:03 AM
    Hi Fazil,
                   You can try log4j.category.org.hibernate=OFF in your log4j.properties
     
    Regards
    Sharik Saigal M

    Subject: RE: UCCX Application Custom Log
    Replied by: Binny Mathew on 02-04-2013 06:27:26 AM
    Sharik M:
    Hi Fazil,                You can try log4j.category.org.hibernate=OFF in your log4j.properties   Regards Sharik Saigal M
    Sharik, I tried that but still the belwo logs are getting printed. 12:15:11,022  WARN AbstractEntityManagerImpl:543 - Cannot join transaction: do not override hibernate.transaction.factory_class   Also i have attached the log4j.properties that i am using as well as the log that is getting generated [docs.zip].   Rgds/binny