Apache CXF and WS-A properties

4.1k views Asked by At

Can anyone please tell me how to resolve this warning message I am receiving?

WARN 13 Oct 2011 15:23:46,024 ContextUtils - WS-Addressing - failed to retrieve Message Addressing Properties from context

It doesn't seem to have any negative side effects although it clutters the logs and I don't like my software to complain.

1

There are 1 answers

0
Yogesh Chawla On

This link has information on how to adjust CXF logging levels:

http://cxf.apache.org/docs/debugging-and-logging.html

The code looks like it is logging this message at the 'fine' and 'warn' levels:

     if (maps != null) {
        LOG.log(Level.FINE, "current MAPs {0}", maps);
    } else if (!isProviderContext) {
        LogUtils.log(LOG, warnIfMissing ? Level.WARNING : Level.FINE, 
            "MAPS_RETRIEVAL_FAILURE_MSG");         
    }

You can adjust your logger accordingly.

Thanks.