Home
Categories
Dictionary
Glossary
Download
Project Details
Changes Log
What Links Here
FAQ
License

Perfo Logger engine



The perfo Logger is an implementation of the recorder engine interface.

Configuration

Main Article: framework properties

To attach the perfo Logger engine to the framework, you must specify the perfo logger jar file for the url attribute of the engine.

The attributes of the element are:
  • The url attribute declares the jar file of the perfo logger
  • The scenario attribute declares the file to use to serialize the record
  • The autoStart attribute is an optional attribute specifying if the record must begin as soon as the framework starts
For example:
      <files>
         <file url="applications.xml" />
         <file url="services.xml" />
         <file url="types.xml" />
         <eventLogger url="perfoLogger.jar" scenario="logged.xml" autoStart="true"/>
      </files>

Recording

When the framework is started, if the perfo Logger is attached to the framework, the folllowing window will appear:
perfologgeractive
  • The text field shows the name of the recorded scenario (here logger.xml)
  • perfologgerStartbutton : This button allows to stop or start the logger
  • perfologgerHeart : The heart icon flashes if the logger is currently active

Viewing the record content


The scenario attribute specifies the file which will be serialized during the logging. The schema of the file is logger.xsd.

For example, when logging the invocations and notifications for the first tutorial :
      <logger date="20230302" startTimeStamp="1677774050172">
         <invoke id="1" time="7205">
            <service name="published" />
            <fromModule application="publishAppli" module="PublishModule" />
         </invoke>
         <notify refId="1" time="7206">
            <service name="published" />
            <fromModule application="publishAppli" module="PublishModule" />
            <toModule application="eventAppli" module="EventModule" />
         </notify>
         <invoke id="2" time="7410">
            <service name="published" />
            <fromModule application="publishAppli" module="PublishModule" />
         </invoke>
         ...
      </logger>

The perfo Logger scenario viewer allows to see the graph of the invocations and notifications.

See also


Categories: builtin-applis

Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence