Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-219

configure log4j for ctakes-assertion module and remove stdout print statements

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0-incubating
    • Fix Version/s: 3.1.1
    • Component/s: ctakes-assertion
    • Labels:
    • Environment:
      Java

      Description

      Most cTAKES modules use log4j and thus the logging for most of the pipeline is easily configurable when included in another application. However, the assertion module uses the java logger, and in order to configure the properties (for instance, add a file handler and suppress the output to the console) I believe it must be done where it is instantiated (somewhere inside the pipeline?). Logging configuration should be possible without checking out the project. Also, the System.out.println statements could be removed and a console handler used instead. This would make cTAKES easier to use inside other applications.

        Attachments

          Activity

            People

            • Assignee:
              chenpei Pei Chen
              Reporter:
              chase Chase Master
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified