public class LogSettings extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LogSettings.Verbosity |
| Modifier and Type | Field and Description |
|---|---|
static com.datastax.oss.driver.shaded.guava.common.collect.ImmutableList<String> |
STACK_TRACE_PRINTER_OPTIONS
The options for stack trace printing.
|
| Constructor and Description |
|---|
LogSettings(Config config,
String executionId) |
| Modifier and Type | Method and Description |
|---|---|
static void |
createMainLogFileAppender(Path mainLogFile) |
LogSettings.Verbosity |
getVerbosity() |
void |
init() |
boolean |
isSources()
Whether record sources should be retained in memory.
|
void |
logEffectiveSettings(Config dsbulkConfig,
Config driverConfig) |
LogManager |
newLogManager(CqlSession session,
boolean trackPositions) |
static void |
setNormal() |
static void |
setQuiet() |
static void |
setVerbose() |
public static final com.datastax.oss.driver.shaded.guava.common.collect.ImmutableList<String> STACK_TRACE_PRINTER_OPTIONS
public void init()
throws IOException
IOExceptionpublic LogManager newLogManager(CqlSession session, boolean trackPositions)
public LogSettings.Verbosity getVerbosity()
public boolean isSources()
public static void createMainLogFileAppender(Path mainLogFile)
public static void setQuiet()
public static void setVerbose()
public static void setNormal()
Copyright © 2017–2021 DataStax. All rights reserved.