PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Details of "Logs" tab
  • Managing the log file
  • Error report by email
  • See the logs
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
WEBDEV administrator: Viewing the logs
Overview
The "Logs" tab is used to:
  • see the details of logs for a specific period.
  • Versions 23 and later
    configure the sending of error reports by email.
    New in version 23
    configure the sending of error reports by email.
    configure the sending of error reports by email.
Caution: To use this feature, the logs must have been enabled for the site. The logs can be enabled:
  • in the "Configuration" tab to manage a general log,
  • in the "Sites" tab ("Parameters" button) and in the "Webservices" tab ("Parameters" button") to manage a specific log.
The log of errors is automatically created when the log of statistics is enabled.
Caution: To use this feature, the logs must have been enabled for the site. The logs can be enabled:
  • in the "Logs" tab to create a general log,
  • in the "Sites" tab ("Parameters" button) and in the "Webservices" tab ("Parameters" button") to manage a specific log.
The log of errors is automatically created when the log of statistics is enabled.
Details of "Logs" tab

Managing the log file

The WEBDEV administrator is used to manage a specific log file allowing you to follow the traffic statistics.
  • Generate a log file (.log):
    This option allows you to generate a log file (".LOG" extension) used to view the traffic statistics of WEBDEV sites via WDStatistic. See the help about WDStatistic for more details.
    The location of log file can be specified.
    This option can be modified for each site in the "Sites" tab.
  • Save in the global file and in the file of each application:
    This option is used to save the statistics both in the log file of application and in the log file of server. Indeed, if the log file is defined both at server level and at application level ("Sites" tab), information may be "lost". The table below presents the different possible cases:
    Application log
    Server log
    "Save in the global file and in the file of each application" option checked
    Result
    NoNoAnyNo log
    NoYesAnyBackup in the server log
    YesNoAnyBackup in the application log
    YesYesNoBackup in the application log
    YesYesYesBackup in the server log and in the application log
Versions 23 and later

Error report by email

The WEBDEV application server periodically examines the logs and it can email error reports.
To enable the generation of error reports:
  1. Enable the logs if necessary.
  2. In the "Logs" tab of WEBDEV administrator, click the "Error report by email" button.
  3. In the window for managing error reports, check "Enable the error reports".
    You can:
    • Configure the recipients of general report. The general report affects all the WEBDEV applications installed on the Web server. This configuration is performed in the window for managing error reports.
    • Configure the recipients of error report for each site or Webservice ("Sites" or "Webservices" tab, "Parameters" button).
To configure the recipients:
  1. Click "+".
  2. Specify:
    • the recipient address.
    • the email frequency: daily, weekly, monthly.
    • the send conditions:
      • only if an error occurred (option checked),
      • systematically (option unchecked).
Notes:
  • The error reports are created every day at midnight and when starting the server. They are sent according to the requested frequency.
  • The configuration of SMTP parameters required to send the error reports is performed in the window for managing error reports.
  • If the error reports are not received, check the specified SMTP parameters. If the sending by SMTP fails, the information is specified in the logs of system used.
New in version 23

Error report by email

The WEBDEV application server periodically examines the logs and it can email error reports.
To enable the generation of error reports:
  1. Enable the logs if necessary.
  2. In the "Logs" tab of WEBDEV administrator, click the "Error report by email" button.
  3. In the window for managing error reports, check "Enable the error reports".
    You can:
    • Configure the recipients of general report. The general report affects all the WEBDEV applications installed on the Web server. This configuration is performed in the window for managing error reports.
    • Configure the recipients of error report for each site or Webservice ("Sites" or "Webservices" tab, "Parameters" button).
To configure the recipients:
  1. Click "+".
  2. Specify:
    • the recipient address.
    • the email frequency: daily, weekly, monthly.
    • the send conditions:
      • only if an error occurred (option checked),
      • systematically (option unchecked).
Notes:
  • The error reports are created every day at midnight and when starting the server. They are sent according to the requested frequency.
  • The configuration of SMTP parameters required to send the error reports is performed in the window for managing error reports.
  • If the error reports are not received, check the specified SMTP parameters. If the sending by SMTP fails, the information is specified in the logs of system used.

Error report by email

The WEBDEV application server periodically examines the logs and it can email error reports.
To enable the generation of error reports:
  1. Enable the logs if necessary.
  2. In the "Logs" tab of WEBDEV administrator, click the "Error report by email" button.
  3. In the window for managing error reports, check "Enable the error reports".
    You can:
    • Configure the recipients of general report. The general report affects all the WEBDEV applications installed on the Web server. This configuration is performed in the window for managing error reports.
    • Configure the recipients of error report for each site or Webservice ("Sites" or "Webservices" tab, "Parameters" button).
To configure the recipients:
  1. Click "+".
  2. Specify:
    • the recipient address.
    • the email frequency: daily, weekly, monthly.
    • the send conditions:
      • only if an error occurred (option checked),
      • systematically (option unchecked).
Notes:
  • The error reports are created every day at midnight and when starting the server. They are sent according to the requested frequency.
  • The configuration of SMTP parameters required to send the error reports is performed in the window for managing error reports.
  • If the error reports are not received, check the specified SMTP parameters. If the sending by SMTP fails, the information is specified in the logs of system used.

See the logs

To see the details of logs:
  1. Select the period to study.
  2. Select the type of log to study.
  3. Click the "Refresh" button.
  4. Only the elements for which errors occurred during the selected period are displayed.
Minimum required version
  • Version 20
Comments
Click [Add] to post a comment