Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note
titleInstaller Path format
  • UNIX based systems: $FIORANO_HOME
  • Windows: %FIORANO_HOME%

Please follow the below instructions to enable fmq loggings logging at the component level:

  1. Delete the jar named "slf4j-nop-1.7.5.jar" from the location %FIORANO_HOME%/extlib/apacheds/lib. 
  2. Ensure that the jar named "slf4j-api-1.7.5.jar" is present at %FIORANO_HOME%/extlib/slf4j.
  3. Configure the log4j log4j2.properties file in the location present at %FIORANO_HOME%/fmq/bin in the following manner:
      Uncomment the line log4j.logger.
      1. Ensure that the following lines are uncommented:

        Code Block
        logger.ClientLoggerServices.name=Fiorano.FMQ.Services.ClientRootLoggerServices.FMQClientLoggerServices
        logger.ClientLoggerServices.level=OFF
    1. ,FILE
      1. Modify the log level from "OFF" to "
    2. ON
      1. ALL" in the above-mentioned line.
    3. 'FILE' denotes that the logs
      1. Logs are written to the log.out

    4. file 
      1. file specified in the following line:

        Code Block
        appender.FMQClientLoggerAppender.fileName=log.out
        Tip

        The log.out file can be found in the present working directory of the component which is %FIORANO_HOME%/runtimedata/PeerServers/

    5. <profileName>
      1. <profileNumber>/FPS/run/components/<ComponentName>/

    6. <Version>
      1. <VersionNumber>.

      2. To change the name of the file

    7. name
      1. , modify the value of the following variable:

        Code Block
        log4j.appender.FILE.File(=log.out)
    8. .
  4. Add 'log4jthe log4j2.properties' file and 'the log4j-slf4j-log4j12impl-12.717.52.jar' jar  jar to the classpath by performing the following the stepsactions:
    1. In eStudio, navigate to Service Repository view (Window > Show View > Service Repository).
    2. Expand the corresponding category and right-click the required component > Edit > Deployment, and click Add under the Resource table.
    3. Go to %FIORANO_HOME%/extlib/slf4j, double-click the 'log4j-slf4j-log4j12impl-12.717.52.jar'.Save  jar and save the changes.
    4. Add the 'log4jlog4j2.properties' file  file from the location %FIORANO_HOME%/fmq/bin in the same waymanner.

      Info

      The file and the jar get added to the classpath.

Note

If any changes are made in the

...

log4j2.properties file,

...

the same

...

needs to be updated in the classpath (repeat

...

Step 4 above) of the component as well.

 

Adaptavist ThemeBuilder EngineAtlassian Confluence