Skip to content

Log File

PrestoPlot records a number of user actions in the PrestoPlot.log file which is placed in :

  • The same directory as the PrestoPlot executable on Windows.
  • $HOME/.PrestoPlot under Linux.

This file can be used to construct a Windows .bat file or a Linux shell script to automatically run PrestoPlot from its Command Line or even a Presto Command File to replay the same actions.

The following actions are recorded in the file:

  • Load Data file - Either a G3 file(s) (*.tsv) or a Tab file(s) (*.tab) has been loaded.
  • Import Data file - An external legacy was used to load a data file.
  • Load PrestoPlot file - Either a PrestoPlot model (.pmdb, .pmd) or graph (.pgrb, .pgr) file has been loaded.
  • Calculation - The Calculator has been used to create a new dataset.
  • Rename Data - A data set has been renamed.
  • Rename units - A data sets units value has been renamed.
  • Delete Data - A data set has been deleted.
  • Save Image - The current graph window has been saved as an image file.
  • Save all Graphs as Images - All graphs have been saved as image files in a target directory.
  • Load Graph as a Model - A Graph file has been loaded using the load model command.
  • Load a Workspace - A workspace file has been loaded using the load workspace command.
  • Export Statistics - A Statistics file has been created using the Export Statistics menu command.
  • Export Data - A Tab separated data file has been created using the Export Data menu command.

Example log file:

-load "D:/USERS/Presto/PrestoDecom/Resultats/POM_2003_06_16_10_12_59_Decom.tsv"
-loadmodel "D:/USERS/Presto/PrestoPlot/Saved/Pom.pmd"
-loadgraphmodel "D:/USERS/Presto/PrestoPlot/Saved/Pom.pgr"
-renamedata "VBAT VBATTERIE"
-renameunits "VBATTERIE Volts"
-calc "VEDE(V)= UsingX(VBATTERIE,DEFICIT)"
-savegif "D:/USERS/Presto/PrestoPlot/Saved/Pom.gif"
-saveemf "D:/USERS/Presto/PrestoPlot/Saved/Pom.emf"
-savegifallgraphs "D:/USERS/Presto/PrestoPlot/Saved"
-saveemfallgraphs "D:/USERS/Presto/PrestoPlot/Saved"

Info

All file names in the log are saved with full path names.

Tip

Any errors which occur while running PrestoPlot from the command line will be saved to the log file.

Tip

PrestoPlot can log messages to a Log4j server by configuring the Log4j options in the Preference file.