-
Notifications
You must be signed in to change notification settings - Fork 0
Logging
Logging is an important part of the Optimal framework, these are
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
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"
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
add Something was added
remove Something was removed
change Something was changed
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