IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Log4j2 - custom Logger config entered in custom_wrapper.conf is not reflecting

  • 1.  Log4j2 - custom Logger config entered in custom_wrapper.conf is not reflecting

    Posted Mon November 22, 2021 07:07 AM

    I am trying to write a custom log file using log4j2 which comes along with webMethods10.5.
    Please clarify on this. If we are adding new log4j config entry in custom_wrapper.conf. do we need to move the existing predefined entry in wrapper.conf also to custom_wrapper.conf. because I use 10.5 and it has a default entry in wrapper.conf and when I add a new config file entry in custom_wrapper.conf. it’s not getting loaded. I have verified in wrapper.log
    wrapper.conf:
    wrapper.java.additional.4=-Dlog4j.configurationFile=“/webMethods/webmethods600/profiles/IS_default/configuration/logging/log4j2.properties”
    wrapper.java.additional.4.stripquotes=TRUE
    custom_wrapper.conf:
    wrapper.java.additional.204=-Dlog4j.configuration=“/webMethods/webmethods600/appProperties/Log4j2Demo.xml”
    wrapper.java.additional.204.stripquotes=TRUE

    I could not see even the log4j2.properties getting loaded in wrapper.log

    Thanks in Advance!
    Vignesh


    #webMethods