Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-129

Incorrect example on using KieRuntimeLogger

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 6.0.1
    • Documentation
    • None
    • Build Name: 22604, Development Guide-6.0-1
      Build Date: 01-04-2014 16:27:21
      Topic ID: 30083-621547 [Latest]

    Description

      Title: KieRuntimeLogger

      Describe the issue:
      In 5.4.4 of the Development Guide for BRMS Platform 6, there is an example of how to use the FileLogger at https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_BRMS/6.0/html/Development_Guide/KieRuntimeLogger.html. The example is listed as: KieRuntimeLogger logger =
      KieServices.Factory.get().newFileLogger(ksession, "logdir/mylogfile");. However, this does not actually work.

      Suggestions for improvement:
      The example should be:
      KieRuntimeLogger logger =
      KieServices.Factory.get().getLoggers().newFileLogger(ksession, "logdir/mylogfile");

      Additional information:

      Attachments

        Activity

          People

            dhoffman_jira Douglas Hoffman (Inactive)
            prikumar Priti Kumar (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson
            Lukáš Petrovický Lukáš Petrovický (Inactive)
            Vikram Goyal Vikram Goyal (Inactive)
            Lukáš Petrovický Lukáš Petrovický (Inactive)
            brms-docs brms-docs (Inactive), L Carlon (Inactive)

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty