-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-52426][CORE] Support redirecting stdout/stderr to logging system #51130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
b0c4474
6cf48f7
c66f4d3
9461673
1593faa
110e7b1
ed76488
8ccae63
28222ec
5a32078
a3326a6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2839,39 +2839,21 @@ package object config { | |
| .createWithDefault( | ||
| if (sys.env.get("SPARK_CONNECT_MODE").contains("1")) "connect" else "classic") | ||
|
|
||
| private[spark] val DRIVER_REDIRECT_STDOUT_TO_LOG_ENABLED = | ||
| ConfigBuilder("spark.driver.log.redirectStdout.enabled") | ||
| .doc("Whether to redirect the driver's stdout to logging system. " + | ||
| private[spark] val DRIVER_REDIRECT_CONSOLE_TO_LOG_ENABLED = | ||
| ConfigBuilder("spark.driver.log.redirectConsole.enabled") | ||
|
||
| .doc("Whether to redirect the driver's stdout/stderr to logging system. " + | ||
| s"It only takes affect when `${PLUGINS.key}` is configured with " + | ||
| "`org.apache.spark.deploy.ConsoleRedirectPlugin`.") | ||
| "`org.apache.spark.deploy.RedirectConsolePlugin`.") | ||
| .version("4.1.0") | ||
| .booleanConf | ||
| .createWithDefault(false) | ||
|
|
||
| private[spark] val DRIVER_REDIRECT_STDERR_TO_LOG_ENABLED = | ||
| ConfigBuilder("spark.driver.log.redirectStderr.enabled") | ||
| .doc("Whether to redirect the driver's stderr to logging system. " + | ||
| s"It only takes affect when `${PLUGINS.key}` is configured with " + | ||
| "`org.apache.spark.deploy.ConsoleRedirectPlugin`.") | ||
| .version("4.1.0") | ||
| .booleanConf | ||
| .createWithDefault(false) | ||
|
|
||
| private[spark] val EXEC_REDIRECT_STDOUT_TO_LOG_ENABLED = | ||
| ConfigBuilder("spark.executor.log.redirectStdout.enabled") | ||
| .doc("Whether to redirect the executor's stdout to logging system. " + | ||
| s"It only takes affect when `${PLUGINS.key}` is configured with " + | ||
| "`org.apache.spark.deploy.ConsoleRedirectPlugin`.") | ||
| .version("4.1.0") | ||
| .booleanConf | ||
| .createWithDefault(false) | ||
| .createWithDefault(true) | ||
|
|
||
| private[spark] val EXEC_REDIRECT_STDERR_TO_LOG_ENABLED = | ||
| ConfigBuilder("spark.executor.log.redirectStderr.enabled") | ||
| .doc("Whether to redirect the executor's stderr to logging system. " + | ||
| private[spark] val EXEC_REDIRECT_CONSOLE_TO_LOG_ENABLED = | ||
| ConfigBuilder("spark.executor.log.redirectConsole.enabled") | ||
| .doc("Whether to redirect the executor's stdout/stderr to logging system. " + | ||
| s"It only takes affect when `${PLUGINS.key}` is configured with " + | ||
| "`org.apache.spark.deploy.ConsoleRedirectPlugin`.") | ||
| "`org.apache.spark.deploy.RedirectConsolePlugin`.") | ||
| .version("4.1.0") | ||
| .booleanConf | ||
| .createWithDefault(false) | ||
| .createWithDefault(true) | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.