Teamcenter Change 2/4-Tier RAC Client Log Locations

2022-08-17T13:56:00Z
Core Functions

Summary


Details

2/4-Tier Log Locations Are In Different Locations And In User Directories

Change To Common Location Outside Of User Directories

ChangeDefaultRACLogLocations.docx (15.1 KB)

Solution

  • 2-Tier iiop Only
    • start_imr.bat
      • xxx\tc_root\iiopservers
        • IS:
          set TCSERVER_USER_DIR="c:\apps\siemens\temp\%USERNAME%\2tier \tao
          • WAS:
            set TCSERVER_USER_DIR="%USERPROFILE%"\Teamcenter \TAO 
            • 2/4-Tier
              • Environmental Variables:
                • NOTE: Tc 12.3+ ONLY  
                  • set TC_SOACLIENT_DATA= c:\apps\siemens\temp\%USERNAME%\xtier\soaclient
                    •  config.ini
                      • xxx\tc_root\portal\configuration
                        • IS:
                          osgi.user.area=c:/apps/siemens/temp/$USERNAME$/xtier/rac/user
                          osgi.instance.area=c:/apps/siemens/temp/$USERNAME$/xtier/rac/instance
                          osgi.configuration.area=c:/apps/siemens/temp/$USERNAME$/xtier/rac/configuration 
                          • WAS:
                            osgi.user.area=@user.home/Teamcenter/RAC/20220304115834
                            osgi.instance.area=@user.home/Teamcenter/RAC/20220304115834
                            osgi.configuration.area=@user.home/Teamcenter/RAC/20220304115834 
                            • starttccs.bat
                              • xxx\tc_root\tccs
                                • IS:
                                  set LOG_VOLUME_LOCATION=c:\apps\siemens\temp\%USERNAME% \xtier\tccs 
                                  • WAS:
                                    set LOG_VOLUME_LOCATION=%USERPROFILE% \Siemens\logs\tccs
                                    • fcc.xml
                                      •  xxx\tc_root\tccs
                                        • IS:
                                          <property name="FCC_LogFile" value="c:\apps\siemens\temp\$USER\xtier\fcc \fcc.log|/tmp/$USER/fcc.log"  overridable="true"/>

                                          <property name="FCC_CacheLocation" value="c:\apps\siemens\temp\$USER\xtier\fcc \FCCCache|/tmp/FCCCache " overridable="true"/> 
                                          • WAS:
                                            <property name="FCC_LogFile" value="$HOME \fcc.log|/tmp/$USER/fcc.log" overridable="true"/>

                                            <property name="FCC_CacheLocation" value="$HOME \FCCCache|/tmp/FCCCache" overridable="true"/> 
                                            • log4j2.xml
                                              • xxx\tc_root\tccs\third_party\TcSS\TcSSxx.x.xxxxxxx\jars
                                                • IS:
                                                  <Property name="LOG_DIR_ROOT">c:/apps/siemens/temp/${sys:user.name} /xtier/fcc/tcss</Property> 
                                                  • WAS:
                                                    <Property name="LOG_DIR_ROOT">${sys:user.home} /Siemens/logs/TcSS</Property> 

                                                    Notes

                                                    KB Article ID# PL8627729

                                                    Contents

                                                    SummaryDetails

                                                    Associated Components

                                                    Core Functions - Client