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

        Woonsan Ko created issue -
        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.
        Woonsan Ko made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ate Douma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        16h 15m 1 Woonsan Ko 24/Mar/10 11:43
        Resolved Resolved Closed Closed
        559d 9h 21m 1 Ate Douma 04/Oct/11 22:04

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development