DWP - Changing RSSO logging directory to any other directory

Version 4
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    MyIT Service Broker OnDemand


    APPLIES TO:

    DWP 18.05 and beyond



    PROBLEM:

    We need to change the default RSSO logging directory from <tomcat>/logs to any other directory


    SOLUTION:

    A) Create this file <DigitalWorkplaceInstalldirectory>/DWP/DWP/rsso-log.cfg

    B) Add these lines to
    <DigitalWorkplaceInstalldirectory>/DWP/DWP/rsso-log.cfg
     

      rsso.log.thread.info.on = false
    rsso.log.console.out.off = false
    rsso.log.name.format = rsso.%g.log
    rsso.log.level = INFO
    rsso.log.roll = 1
    rsso.log.limit = 10485760
    rsso.log.dir = /logs  this is the new directory that you want  the logs to be written to.
    rsso.io.tmpdir = /logs
      
    C) Save

    D) Edit  /opt/apache/tomcat8.5/bin/setenv.sh

       
      Add this line

    export JAVA_OPTS="$JAVA_OPTS -Drsso.log.cfg.file=
      <DigitalWorkplaceInstalldirectory>  /DWP/DWP/rsso-log.cfg"

    Save file
      
    E) Restart Tomcat
      

     


    Article Number:

    000170977


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles