Logging options
Logging solutions allow you to display exchanges between components when a program executes.
Genero provides several build-in options to get debug information, as well as logging features:
- Get the stack trace with
base.Application.getStackTrace()
- Display the GUI protocol exchange in stderr with FGLGUIDEBUG.
- Display the SQL statements execution in stderr with FGLSQLDEBUG.
- Display Web Services API calls in stderr with FGLWSDEBUG.
- Produce function call stack trace, with
fglrun --trace
option. - Produce source code coverage info with
fglrun --merge-cov
/ FGLCOV. - Log front-end protocol exchange with
fglrun --start-guilog
option. - Front-ends can add specific markers in the front-end protocol log with GUI log events.
- Produce application log files in case of runtime error, with STARTLOG().
Important:
Sensitive and personal data may be written to the output. Make sure that the log output is written to files that can only be read by application administrators.