Skip to content

Logging

Nicklas Börjesson edited this page Jun 7, 2016 · 6 revisions

Logging:

Logging is an important part of the Optimal framework, these are

Severity levels

To be able to respond intelligently to events in the system, and also to be able to filter data for the users, OF uses severity levels:

debug Debugging message
info Informational message
warning A warning
alert Action must be taken immediately
user A user error or error that can be corrected by the user
error A problem but doesn't stop execution
fatal A problem that causes something to stop functioning

Event categories

However, the severity of an event isn't enough information. So OF also divides events into categories:

notification: A notification, can be any information, like "the system has started"

Error categories

internal: An internal error, likely a bug in the system
invalid: A validation error, some information failed to validate, invalid reference
communication: A communications error
service: A service level error, such as a failure to start or configuration errors
resource: A resource error indicating a lack of memory, space or time/cpu or other resource
right: A security related error, insufficient rights
permission: A security related error, insufficient permissions
uncategorized Uncategorized error

Node change categories

add Something was added
remove Something was removed
change Something was changed

Attack categories

probe The system considers itself being probed
dos The system considers itself being under a denial-of-service attack
breakin The system considers itself being broken in to

Clone this wiki locally