Pawn2:Logging: Difference between revisions
From Adapt
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Description of logging environment in PAWN 2. | Description of logging environment in PAWN 2. | ||
Line 12: | Line 11: | ||
** info - overview of call and short description of parameters | ** info - overview of call and short description of parameters | ||
** error - any exceptions | ** error - any exceptions | ||
* process - logger for all 3rd processes | |||
* storage - logger for storage resources |
Revision as of 14:55, 24 February 2009
Description of logging environment in PAWN 2.
Log4j is used for all logging in PAWN. GWT may log some things using the servlet logger, but all attempt has been made to redirect these back to one of the pawn loggers.
The following loggers are used withing pawn, guidelines on what to log to each level is also listed
- error - all unexpected error messages
- trace - call trace
- trace - call entry, exit, details of method parameters
- debug - timing information
- info - overview of call and short description of parameters
- error - any exceptions
- process - logger for all 3rd processes
- storage - logger for storage resources