org.postgresql.pljava.internal
Class ELogHandler
Handler
org.postgresql.pljava.internal.ELogHandler
public class ELogHandler
extends Handler
Provides access to the loggin mechanism of the PostgreSQL server.
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 state
|
static int | LOG_FATAL - fatal error - abort process
|
static int | LOG_INFO - Informative messages that are always
sent to client; is not affected by
client_min_messages
|
static 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 me
|
static int | LOG_WARNING - Warnings
|
void | close() - This is a no-op.
|
void | flush() - This is a no-op.
|
static Level | getPgLevel() - Obtains the "log_min_messages" configuration variable and
translates it into a
Level object.
|
static void | init()
|
void | publish(LogRecord record)
|
LOG_DEBUG1
public static final int LOG_DEBUG1
LOG_DEBUG2
public static final int LOG_DEBUG2
LOG_DEBUG3
public static final int LOG_DEBUG3
LOG_DEBUG4
public static final int LOG_DEBUG4
LOG_DEBUG5
public static final int LOG_DEBUG5
Debugging messages, in categories of
decreasing detail.
LOG_ERROR
public static final int LOG_ERROR
user error - abort transaction; return
to known state
LOG_FATAL
public static final int LOG_FATAL
fatal error - abort process
LOG_INFO
public static final int LOG_INFO
Informative messages that are always
sent to client; is not affected by
client_min_messages
LOG_LOG
public static final int LOG_LOG
Server operational messages; sent only
to server log by default.
LOG_NOTICE
public static final int LOG_NOTICE
Helpful messages to users about query
operation; sent to client and server
log by default.
LOG_PANIC
public static final int LOG_PANIC
take down the other backends with me
LOG_WARNING
public static final int LOG_WARNING
Warnings
ELogHandler
public ELogHandler()
close
public void close()
throws SecurityException
This is a no-op.
flush
public void flush()
This is a no-op.
getPgLevel
public static Level getPgLevel()
Obtains the "log_min_messages" configuration variable and
translates it into a Level
object.
- The Level that corresponds to the configuration variable.
init
public static void init()
publish
public void publish(LogRecord record)
Copyright (c) 2003, 2004, 2005 TADA AB - Taby Sweden. \
Distributed under the terms shown in COPYRIGHT