flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject flink git commit: [docs] Add notes about shipped log4j properties files
Date Tue, 31 May 2016 09:34:36 GMT
Repository: flink
Updated Branches:
  refs/heads/master aec8b5a72 -> 43ad1a2a6

[docs] Add notes about shipped log4j properties files

Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/43ad1a2a
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/43ad1a2a
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/43ad1a2a

Branch: refs/heads/master
Commit: 43ad1a2a6fc657c5e41d67deb648fccc9e2eb2d6
Parents: aec8b5a
Author: Ufuk Celebi <uce@apache.org>
Authored: Tue May 31 11:33:47 2016 +0200
Committer: Ufuk Celebi <uce@apache.org>
Committed: Tue May 31 11:34:30 2016 +0200

 docs/internals/logging.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/internals/logging.md b/docs/internals/logging.md
index d2c0cba..f68bc73 100644
--- a/docs/internals/logging.md
+++ b/docs/internals/logging.md
@@ -33,6 +33,12 @@ The logging in Flink is implemented using the slf4j logging interface.
As underl
 Log4j is controlled using property files. In Flink's case, the file is usually called `log4j.properties`.
We pass the filename and location of this file using the `-Dlog4j.configuration=` parameter
to the JVM.
+Flink ships with the following default properties files:
+- `log4j-cli.properties`: Used by the Flink command line client (e.g. `flink run`) (not code
executed on the cluster)
+- `log4j-yarn-session.properties`: Used by the Flink command line client when starting a
YARN session (`yarn-session.sh`)
+- `log4j.properties`: JobManager/Taskmanager logs (both standalone and YARN)
 ## Configuring logback
 For users and developers alike it is important to control the logging framework. 

View raw message