| Modifier and Type | Field and Description |
|---|---|
protected Log |
CoreSession.log
The logger we're going to use
|
protected static Log |
CoreSession.NULL_LOGGER
Null logger shared by all connections at startup
|
| Modifier and Type | Method and Description |
|---|---|
Log |
Session.getLog()
Returns the log mechanism that should be used to log information from/for this Session.
|
Log |
CoreSession.getLog() |
| Modifier and Type | Method and Description |
|---|---|
QueryInterceptor |
NoSubInterceptorWrapper.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
| Modifier and Type | Method and Description |
|---|---|
ExceptionInterceptor |
ExceptionInterceptor.init(java.util.Properties props,
Log log)
Called once per connection that wants to use the extension
The properties are the same ones passed in in the URL or arguments to
Driver.connect() or DriverManager.getConnection().
|
ExceptionInterceptor |
ExceptionInterceptorChain.init(java.util.Properties properties,
Log log) |
| Constructor and Description |
|---|
ExceptionInterceptorChain(java.lang.String interceptorClasses,
java.util.Properties props,
Log log) |
| Modifier and Type | Method and Description |
|---|---|
QueryInterceptor |
QueryInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log)
Called once per connection that wants to use the interceptor
The properties are the same ones passed in in the URL or arguments to
Driver.connect() or DriverManager.getConnection().
|
| Modifier and Type | Field and Description |
|---|---|
private Log |
MysqlXAConnection.log |
| Modifier and Type | Method and Description |
|---|---|
QueryInterceptor |
LoadBalancedAutoCommitInterceptor.init(MysqlConnection connection,
java.util.Properties props,
Log log) |
| Modifier and Type | Field and Description |
|---|---|
private Log |
ServerStatusDiffInterceptor.log |
| Modifier and Type | Method and Description |
|---|---|
QueryInterceptor |
SessionAssociationInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
QueryInterceptor |
ResultSetScannerInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
QueryInterceptor |
ServerStatusDiffInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log l) |
ConnectionLifecycleInterceptor |
ConnectionLifecycleInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log)
Called once per connection that wants to use the extension
The properties are the same ones passed in in the URL or arguments to
Driver.connect() or DriverManager.getConnection().
|
| Modifier and Type | Class and Description |
|---|---|
class |
Jdk14Logger
Logging functionality for JDK1.4
|
class |
NullLogger
A logger that does nothing.
|
class |
Slf4JLogger |
class |
StandardLogger
Provides logging facilities for those platforms that don't have built-in facilities.
|
| Modifier and Type | Field and Description |
|---|---|
private Log |
LoggingProfilerEventHandler.logger |
| Modifier and Type | Method and Description |
|---|---|
static Log |
LogFactory.getLogger(java.lang.String className,
java.lang.String instanceName)
Returns a logger instance of the given class, with the given instance
name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProfilerEventHandler.init(Log log) |
void |
LoggingProfilerEventHandler.init(Log log) |
void |
BaseMetricsHolder.reportMetrics(Log log) |
| Modifier and Type | Field and Description |
|---|---|
protected Log |
ReadAheadInputStream.log |
protected Log |
AbstractProtocol.log
The logger we're going to use
|
| Modifier and Type | Method and Description |
|---|---|
void |
SocketConnection.connect(java.lang.String host,
int port,
PropertySet propertySet,
ExceptionInterceptor exceptionInterceptor,
Log log,
int loginTimeout)
Connect to the MySQL server and setup a stream connection.
|
default void |
SocketConnection.performTlsHandshake(ServerSession serverSession,
Log log)
Start a TLS handshake
|
default <T extends java.io.Closeable> |
SocketFactory.performTlsHandshake(SocketConnection socketConnection,
ServerSession serverSession,
Log log)
If required, called by the driver during MySQL protocol handshake to transform
original socket to SSL socket and perform TLS handshake.
|
<T extends java.io.Closeable> |
StandardSocketFactory.performTlsHandshake(SocketConnection socketConnection,
ServerSession serverSession,
Log log) |
<T extends java.io.Closeable> |
NamedPipeSocketFactory.performTlsHandshake(SocketConnection socketConnection,
ServerSession serverSession,
Log log) |
static java.net.Socket |
ExportControlled.performTlsHandshake(java.net.Socket rawSocket,
SocketConnection socketConnection,
ServerVersion serverVersion,
Log log)
Converts the socket being used in the given SocketConnection to an SSLSocket by performing the SSL/TLS handshake.
|
| Constructor and Description |
|---|
ReadAheadInputStream(java.io.InputStream toBuffer,
boolean debug,
Log logTo) |
ReadAheadInputStream(java.io.InputStream toBuffer,
int bufferSize,
boolean debug,
Log logTo) |
| Modifier and Type | Field and Description |
|---|---|
private Log |
TracingPacketSender.log |
private Log |
CompressedInputStream.log
Connection logger
|
private Log |
TracingPacketReader.log |
| Modifier and Type | Method and Description |
|---|---|
void |
NativeSocketConnection.connect(java.lang.String hostName,
int portNumber,
PropertySet propSet,
ExceptionInterceptor excInterceptor,
Log log,
int loginTimeout) |
void |
SimplePacketReaderTest.MockSocketConnection.connect(java.lang.String host,
int port,
PropertySet propertySet,
ExceptionInterceptor exceptionInterceptor,
Log log,
int loginTimeout) |
static NativeProtocol |
NativeProtocol.getInstance(Session session,
SocketConnection socketConnection,
PropertySet propertySet,
Log log,
TransactionEventHandler transactionManager) |
void |
NativeSocketConnection.performTlsHandshake(ServerSession serverSession,
Log log) |
| Constructor and Description |
|---|
CompressedInputStream(java.io.InputStream streamFromServer,
RuntimeProperty<java.lang.Boolean> traceProtocol,
Log log)
Creates a new CompressedInputStream that reads the given stream from the
server.
|
NativeProtocol(Log logger) |
TracingPacketReader(MessageReader<NativePacketHeader,NativePacketPayload> packetReader,
Log log) |
TracingPacketSender(MessageSender<NativePacketPayload> packetSender,
Log log,
java.lang.String host,
long serverThreadId) |
| Modifier and Type | Method and Description |
|---|---|
<T extends java.io.Closeable> |
SocketFactoryWrapper.performTlsHandshake(SocketConnection socketConnection,
ServerSession serverSession,
Log log) |
| Modifier and Type | Class and Description |
|---|---|
class |
BufferingLogger
Provides logging facilities for those platforms that don't have built-in facilities.
|
| Modifier and Type | Method and Description |
|---|---|
QueryInterceptor |
BaseQueryInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionRegressionTest.TestBug57662Logger |
| Modifier and Type | Method and Description |
|---|---|
QueryInterceptor |
CharsetRegressionTest.TestBug64205QueryInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
QueryInterceptor |
CharsetRegressionTest.TestSetNamesQueryInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
QueryInterceptor |
ConnectionRegressionTest.Bug75168QueryInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
QueryInterceptor |
ConnectionRegressionTest.Bug56100QueryInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |
ExceptionInterceptor |
ConnectionRegressionTest.TestBug71850ExceptionInterceptor.init(java.util.Properties props,
Log log) |
ExceptionInterceptor |
ConnectionRegressionTest.TestBug67803ExceptionInterceptor.init(java.util.Properties props,
Log log) |
ExceptionInterceptor |
ConnectionRegressionTest.TestBug21934573ExceptionInterceptor.init(java.util.Properties props,
Log log) |
ExceptionInterceptor |
ResultSetRegressionTest.TestBug67318ExceptionInterceptor.init(java.util.Properties props,
Log log) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionLifecycleInterceptor |
TestLifecycleInterceptor.init(MysqlConnection conn,
java.util.Properties props,
Log log) |