• Anonymous
  • Login
  • Register
OpenLog - Feature Request: Setting a Level(or Threshhold) to limit LogEvent

Created on May 9, 2008
Created by Eric H Romo
Status Submitted

Sort of a simple concept, may be useful enough....

in Declarations, Add:
dim globalLogEventLevel as Long

Add:
Function SetLogEventLevel(severity As Long) As Boolean
globalLogEventLevel = severity
SetLogEventLevel = True
End Function

Add In near beginning of LogEvent function:
If globalLogEventLevel > severity Then
' skip if severity is too low to be reported
Exit Function
End If

To use this in an agent, try:
Call SetLogEventLevel(SEVERITY_MEDIUM)

or

CONST SEVERITY_DEBUG = 0
Call SetLogEventLevel(SEVERITY_DEBUG)

or

globalLogEventLevel = SEVERITY_MEDIUM



Taken Actions by Owners

No actions have been taken yet.


In this field you can enter the actual request.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.
In this field owners can describe what they have done or want to do.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.