- java.lang.Object
-
- java.util.logging.Handler
-
- org.postgresql.pljava.elog.ELogHandler
-
public class ELogHandler extends Handler
Provides access to the loggin mechanism of the PostgreSQL server.- Author:
- Thomas Hallgren
-
-
Field Summary
Fields Modifier and Type Field Description static int
LOG_DEBUG1
static int
LOG_DEBUG2
static int
LOG_DEBUG3
static int
LOG_DEBUG4
static int
LOG_DEBUG5
Debugging messages, in categories of decreasing detail.static int
LOG_ERROR
user error - abort transaction; return to known statestatic int
LOG_FATAL
fatal error - abort processstatic int
LOG_INFO
Informative messages that are always sent to client; is not affected by client_min_messagesstatic int
LOG_LOG
Server operational messages; sent only to server log by default.static int
LOG_NOTICE
Helpful messages to users about query operation; sent to client and server log by default.static int
LOG_PANIC
take down the other backends with mestatic int
LOG_WARNING
Warnings
-
Constructor Summary
Constructors Constructor Description ELogHandler()
-
Method Summary
-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
Field Detail
-
LOG_DEBUG5
public static final int LOG_DEBUG5
Debugging messages, in categories of decreasing detail.- See Also:
- Constant Field Values
-
LOG_DEBUG4
public static final int LOG_DEBUG4
- See Also:
- Constant Field Values
-
LOG_DEBUG3
public static final int LOG_DEBUG3
- See Also:
- Constant Field Values
-
LOG_DEBUG2
public static final int LOG_DEBUG2
- See Also:
- Constant Field Values
-
LOG_DEBUG1
public static final int LOG_DEBUG1
- See Also:
- Constant Field Values
-
LOG_LOG
public static final int LOG_LOG
Server operational messages; sent only to server log by default.- See Also:
- Constant Field Values
-
LOG_INFO
public static final int LOG_INFO
Informative messages that are always sent to client; is not affected by client_min_messages- See Also:
- Constant Field Values
-
LOG_NOTICE
public static final int LOG_NOTICE
Helpful messages to users about query operation; sent to client and server log by default.- See Also:
- Constant Field Values
-
LOG_WARNING
public static final int LOG_WARNING
Warnings- See Also:
- Constant Field Values
-
LOG_ERROR
public static final int LOG_ERROR
user error - abort transaction; return to known state- See Also:
- Constant Field Values
-
LOG_FATAL
public static final int LOG_FATAL
fatal error - abort process- See Also:
- Constant Field Values
-
LOG_PANIC
public static final int LOG_PANIC
take down the other backends with me- See Also:
- Constant Field Values
-
-
Method Detail
-
close
public void close() throws SecurityException
This is a no-op.- Specified by:
close
in classHandler
- Throws:
SecurityException
-
init
public static void init()
-
-