Jetspeed 2
  1. Jetspeed 2
  2. JS2-1148

CXF produces warning logs in sys console, not in the specified log file.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.1
    • Component/s: None
    • Labels:
      None

      Description

      A system property has been set to force cxf to produce logs into specified logging configuration.
      (org.apache.cxf.Logger = org.apache.cxf.common.logging.Log4jLogger, as directed in cxf documentation website.)
      However, if there's a runtime exception in the jax-rs service beans, the logs are printed in system console.)

        Activity

        Hide
        Woonsan Ko added a comment -

        Fixed by adding cxf logging logger configuration file to classpath:/META-INF/cxf/org.apache.cxf.Logger.

        Show
        Woonsan Ko added a comment - Fixed by adding cxf logging logger configuration file to classpath:/META-INF/cxf/org.apache.cxf.Logger.

          People

          • Assignee:
            Woonsan Ko
            Reporter:
            Woonsan Ko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development