logEvent (Log - Java)

Sends a Domino® event out to the network.

Defined in

Log

Syntax

public void logEvent(String text, String queue, int event, int severity)
    throws NotesException

Parameters

String text

The message to send to the network.

String queue

The name of the queue. The queue is picked for you if you send an empty string ("").

int event

Indicates the kind of event being logged. May be any of the following:

Log.EV_ALARM

Log.EV_COMM

Log.EV_MAIL

Log.EV_MISC

Log.EV_REPLICA

Log.EV_RESOURCE

Log.EV_SECURITY

Log.EV_SERVER

Log.EV_UNKNOWN

Log.EV_UPDATE

int severity

Indicates the severity of the event being logged. May be any of the following:

Log.SEV_FAILURE

Log.SEV_FATAL

Log.SEV_NORMAL

Log.SEV_WARNING1

Log.SEV_WARNING2

Log.SEV_UNKNOWN

Usage

Only scripts running on a server can use this method.

This method is a way to post to API event queues and does not affect database, mail, file and agent logs. Using the LogAction or LogError methods has no effect on event logging.