Dnn Log Analysis

Source: Internet
Author: User

In the dnn system, logs can be divided into the following

1. According to the storage method: xmlloggingprovider stores logs in XML files and dbloggingprovider stores logs in the database.
2. The log content can be divided into EventLog and predictionlog.

EventLog: records event information. For example, when you create a user or log on to the user, the relevant information is recorded in the log.

Exceptionlog exception log: indicates the log that records system exception information.

Maybe you will ask, how do I know when it will record the log? Will it be recorded when I delete or edit an information system,

This problem starts with the classification of events and exceptions.

In dnn

Events are classified Exceptions include:

Public Enum eventlogtype
{
User_created,
User_deleted,
Login_superuser,
Login_success,
Login_failure,
Cache_refreshed,
Password_sent_success,
Password_sent_failure,
Log_icationication_failure,
Portal_created,
Portal_deleted,
Tab_created,
Tab_updated,
Tab_deleted,
Tab_sent_to_recycle_bin,
Tab_restored,
User_role_created,
User_role_deleted,
Role_created,
Role_updated,
Role_deleted,
Module_created,
Module_updated,
Module_deleted,
Module_sent_to_recycle_bin,
Module_restored,
Scheduler_event_started,
Scheduler_event_progressing,
Scheduler_event_completed,
Application_start,
Application_end,
Application_shutting_down,
Scheduler_started,
Scheduler_shutting_down,
Scheduler_stopped,
Admin_alert,
Host_alert
}

Public Enum exceptionlogtype
{
General_exception,
Module_load_exception,
Page_load_exception,
Scheduler_exception
}

Now you can see it at a glance.

Paste the relationship diagram of the core classes in the log:

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.