Diferència entre revisions de la pàgina «Debugging»

Dreceres ràpides: navegació, cerca

Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

(Debugging in Moodle 1.7 onwards)
(location, formatting)
Línia 1: Línia 1:
==Debugging in Moodle 1.7 onwards== {{Moodle 1.7}}
+
Location: ''Administration > Server > Debugging''
  
[[Category:Debugging]]
 
  
The interface for Administration changed in Moodle 1.7 and more options were given for controlling how to handle PHP error messages. To access debug in Moodle 1.7 onwards, go to the Administration block, click on Server, and then click on Debugging.
+
==Debug messages==
  
'''Debug messages''' - The administrator can select the types of error messages to be displayed or logged.  
+
{{Moodle 1.7}}From Moodle 1.7 onwards, further options are provided for controlling how to handle PHP error messages. The administrator can select the types of error messages to be displayed or logged.  
  
 
The options for debugging include:
 
The options for debugging include:
Línia 14: Línia 13:
 
* DEVELOPER: extra Moodle debug messages for developers - If you turn this on, then PHP's error_reporting will be increased so that more warnings are printed.  This is only useful for developers.
 
* DEVELOPER: extra Moodle debug messages for developers - If you turn this on, then PHP's error_reporting will be increased so that more warnings are printed.  This is only useful for developers.
  
'''Display debug messages''' - There is an option to choose whether to display error messages or simply record them in the server logs.
+
==Display debug messages==
  
'''Debug email sending''' -  Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.
+
There is an option to choose whether to display error messages or simply record them in the server logs.  
  
'''Performance info''' - The Performance info option determines whether performance info will be included in the footer of the standard theme (and some other themes). Performance info includes the time for the page to load, the amount of memory used to generate the page, cpu usage, load, and the record cache hit/miss ration.
+
==Debug email sending==
  
 +
Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.
 +
 +
==Performance info==
 +
 +
The Performance info option determines whether performance info will be included in the footer of the standard theme (and some other themes). Performance info includes the time for the page to load, the amount of memory used to generate the page, cpu usage, load, and the record cache hit/miss ration.
  
 
[[Category:Administrator]]
 
[[Category:Administrator]]

Revisió del 08:46, 3 set 2007

Location: Administration > Server > Debugging


Debug messages

Plantilla:Moodle 1.7From Moodle 1.7 onwards, further options are provided for controlling how to handle PHP error messages. The administrator can select the types of error messages to be displayed or logged.

The options for debugging include:

  • NONE: Do not show any errors or warnings
  • MINIMAL: Show only fatal errors
  • NORMAL: Show errors, warnings and notices
  • ALL: Show all reasonable PHP debug messages
  • DEVELOPER: extra Moodle debug messages for developers - If you turn this on, then PHP's error_reporting will be increased so that more warnings are printed. This is only useful for developers.

Display debug messages

There is an option to choose whether to display error messages or simply record them in the server logs.

Debug email sending

Determines whether or not to enable verbose debug information during sending of email messages to SMTP server.

Performance info

The Performance info option determines whether performance info will be included in the footer of the standard theme (and some other themes). Performance info includes the time for the page to load, the amount of memory used to generate the page, cpu usage, load, and the record cache hit/miss ration.