IBM DB2 Manual page 378

Table of Contents

Advertisement

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362
Application Programming Guide and Reference for Java
public abstract void unsetLogWriter()
throws java.sql.SQLException
Disables the global log writer override for future connections.
suspendTrace
Format:
public void suspendTrace()
throws java.sql.SQLException
Suspends all global, Connection-level, or DataSource-level traces for current
and future connections. suspendTrace can be called when the global log writer
is enabled or disabled.
resumeTrace
Format:
public void resumeTrace()
throws java.sql.SQLException
Resumes all global, Connection-level, or DataSource-level traces for current and
future connections. resumeTrace can be called when the global log writer is
enabled or disabled. If the global log writer is disabled, resumeTrace resumes
Connection-level or DataSource-level traces. If the global log writer is enabled,
resumeTrace resumes the global trace.
getLogWriter
Format:
public abstract java.io.PrintWriter getLogWriter()
throws java.sql.SQLException
Returns the PrintWriter for the global log writer, if it is set. Otherwise,
getLogWriter returns null.
getTraceFile
Format:
public abstract String getTraceFile()
throws java.sql.SQLException
Returns the name of the destination file for the global log writer, if it is set.
Otherwise, getTraceFile returns null.
getTraceDirectory
Format:
public abstract String getTraceDirectory()
throws java.sql.SQLException
Returns the name of the destination directory for global log writer files, if it is
set. Otherwise, getTraceDirectory returns null.
getTraceLevel
Format:
public abstract int getTraceLevel()
throws java.sql.SQLException
Returns the trace level for the global trace, if it is set. Otherwise,
getTraceLevel returns -1 (TRACE_ALL).
getTraceFileAppend
Format:

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents