Skip to main content

CTF tracing for Revolve

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

CTF tracing for Revolve was added to the product in Web Sync 3, what needs to be done to get this set up.

Resolution:

Consolidated Tracing Facility (CTF) for Revolve

The Consolidated Tracing Facility is now available to use in the Revolve product.

Download and apply the Revolve wrappack 3   RVP3270030025.msp  from the Micro Focus websync.

Here is example of the CTF.CFG

Documentation on CTF is in the Revolve Help under the following:

Expand a folder by clicking on the plus sign

   Expand Using Revolve

   Expand Consolidated Tracing Facility

Please read the documentation on CTF before using CTF in Revolve.

There is a default CTF configuration file located under CONFIG folder where the Revolve product was installed. The default install location would be

C:\\Program Files\\Micro Focus\\Revolve 7.0\\CONFIG

The filename is CTF.cfg and it contains the following:

## MFTRACE configuration file

##

mftrace.dest=TEXTFILE

mftrace.emitter.textfile#Format   = $(DATE) $(TIME) $(COMPONENT) $(LEVEL) :$(DATA)

##

##  Log directory - change this to the desired directory

##

mftrace.emitter.textfile#location=C:\\revolve_logs

##

##  Base log file name. In this example, three log files will be created

##    in the log directory: revolve1.txt, revolve2.txt, revolve3.txt

##    

mftrace.emitter.textfile#file=revolve$(GEN).txt

mftrace.emitter.textfile#maxgeneration=3

##

## Max log file size in K-bytes

##

mftrace.emitter.textfile#maxfilesize=500

##

## Overall default tracing level

## allowed values (in ascending order of severity) are:

## debug,info,warning,error,fatal

##

mftrace.level           = error

##

## Tracing level by main component

## You can override the default level tracing

## for each component here.

##

mftrace.level.mf.rv.rvcore       = error

mftrace.level.mf.rv.rvui         = error

mftrace.level.mf.rv.phoenix      = error

mftrace.level.mf.rv.rvee         = error

The first line that should be modified is where  the trace log file for CTF will be located.

Here is the default location:

mftrace.emitter.textfile#location=C:\\revolve_logs

Suggest changing to something like C:\\CTF\\revolve_logs

There are 3 levels of tracing Information, Warning and Error.

The four components that can be set in the CTF.cfg file are the following:

mftrace.level.mf.rv.rvcore       = error

mftrace.level.mf.rv.rvui         = error

mftrace.level.mf.rv.phoenix      = error

mftrace.level.mf.rv.rvee         = error

Once the CTF file is setup for tracing requirements, then move the CTF.cfg file to the Revolve 7.0\\bin folder. This will enable the tracing.

Also, enabling the trace can be done by setting the MFTRACE_CONFIG environment variable to the location of the CTF.cfg . This information is in the documentation for CTF.

The filename for the CTF trace log file will be  revolve1.txt

Here is an example of a revolve1.txt

# -MFTRACE Text Emitter-

# CommandLine      = ""C:\\Program Files\\Micro Focus\\Revolve 7.0\\Bin\\revolve.exe

# ProcessId        = 2120

# Date             = 2007/08/27

# Time             = 14:20:50.517

# Operating System = Windows XP Service Pack 2 (Build 2600)

# Computer Name    = DEVSYSTEM11111

# Format           = $(DATE) $(TIME) $(COMPONENT) $(LEVEL) :$(DATA)

2007/08/27 14:20:50.517 MF.RV.RVCORE.RVUTIL 3 : "mf.rv.rvcore.rvutil" ".\\util.cpp 1352 UTIL_stderr - Minimum Swap Size read from initialNumCacheBlocks is 32768 4K blocks"

2007/08/27 14:20:50.533 MF.RV.RVCORE.RVUTIL 3 : "mf.rv.rvcore.rvutil" ".\\util.cpp 1352 UTIL_stderr - Maximum Swap Size read from maximumNumCacheBlocks is 518518 4K blocks"

Attachments:

CTF_Revolve.doc

Old KB# 1137

#SupportTip
#EnterpriseAnalyzer