forked from jayallen/melody
-
Notifications
You must be signed in to change notification settings - Fork 36
Log Table Reference
mikert edited this page Feb 16, 2011
·
1 revision
-
log_id
-integer not null auto_increment
. - Log table primary key. -
log_message
-text
. - The full log message. -
log_ip
-string(50)
. - The IP address associated with the log event if relevant (such as a commenter or a search event). -
log_blog_id
-integer
. - The blog ID associated with the log entry. 0 means it occurred in the system view. -
log_author_id
-integer
. - The author ID associated with the log entry if relevant (such as creating a new entry or editting one). -
log_level
-integer
. - The level of severity associated with the entry. Values are (taken from MT::Entry):-
1
- INFO -
2
- WARNING -
4
- ERROR -
8
- SECURITY -
16
- DEBUG
-
-
log_category
-string(255)
. - A generic "category" for the error message. This does not correspond with the category table. It's just a generic string defined by a developer during log message creation. -
log_metadata
-string(255)
. - Meta data associated with the message. this is often just a truncated form of the log message field, but it can be useful for storing information about the error.
mt_log_created_on
mt_log_blog_id
mt_log_level