Log file

De GENIUS
Aller à la navigation Aller à la recherche

GENIUS proposes to manage a log file that will record your actions. This is, up to now, the default mode, so you will not have to do anything then a log file named Genius.log will be automatically created at the same place you will have started your process.

If you do not want this possibility, you will have to call for the following method with these arguments:

GEnvironment.setLogFilename(null, false);

On the contrary, using the same method, you will have the possibility to specify another name for the log file as well as the creation of a logEventTable if the second argument is true.

GEnvironment.setLogFilename("myLogFile.xml", true);

You will have also the possibility to define which kind of information you will store, using the folloxing methods:

GEnvironment.setWriteLogDataModififiedEvent(true/false);
GEnvironment.setWriteLogDataValidityEvent(true/false);

To be completed ...


Return to the introduction ↑ Go to the next page →