[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.13 Logging

You can keep a log of the simulations run by Angora in a log file, which contains several lines of information for each simulation. First, an estimate of the finishing time and duration of the simulation is written into the log entry. The actual finishing time and duration is added to the log entry upon completion of the simulation.

Here is an example entry for a simulation in the log file:

johndoe started Angora on 02/22/12 11:54:36AM
    Estimated to finish on 02/22/12 11:54:42AM
    Estimated duration : 6 seconds.
    Simulation finished on 02/22/12 11:54:42AM
    Elapsed time : 6 seconds.
Global variable: boolean enable_logging (default: "true")

If set to ‘true’, Angora will keep a record of the simulations that it runs in a log file. The name of this log file is specified by the log_file_name variable, and the directory in which this file resides is specified by the log_output_dir variable.

Global variable: string log_file_name (default: "angora.log")

This is the name of the Angora log file. It resides in the directory specified by the log_output_dir variable.

Global variable: string log_output_dir (default: "log")

This is the directory in which the Angora log file is kept. Unless it is preceded by a slash ‘/’, it is taken as relative to the base output directory output_dir (see section Paths).

[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by Ilker Rafet Capoglu on December 12, 2012 using texi2html 1.82.