[ https://issues.apache.org/jira/browse/FLINK-6280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15976638#comment-15976638 ]
ASF GitHub Bot commented on FLINK-6280: --------------------------------------- Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/3701#discussion_r112444789 --- Diff: docs/monitoring/application_profiling.md --- @@ -0,0 +1,54 @@ +--- +title: "Application Profiling" +nav-parent_id: monitoring +nav-pos: 15 +--- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +* ToC +{:toc} + +## Overview of Custom Logging with Apache Flink + +The standalone JobManager, TaskManager, HistoryServer, and ZooKeeper daemons by write `stdout` and `stderr` to files --- End diff -- the "by" between "daemons by write" should be removed. > Allow logging with Java flags > ----------------------------- > > Key: FLINK-6280 > URL: https://issues.apache.org/jira/browse/FLINK-6280 > Project: Flink > Issue Type: Improvement > Components: Startup Shell Scripts > Affects Versions: 1.3.0 > Reporter: Greg Hogan > Assignee: Greg Hogan > > Allow configuring Flink's Java options with the logging prefix and log > rotation. For example, this allows the following configurations to write > {{.jfr}} and {{.jit}} files alongside the existing {{.log}} and {{.out}} > files. > {code:language=bash|title=Configuration for Java Flight Recorder} > env.java.opts: "-XX:+UnlockCommercialFeatures -XX:+UnlockDiagnosticVMOptions > -XX:+FlightRecorder -XX:+DebugNonSafepoints > -XX:FlightRecorderOptions=defaultrecording=true,dumponexit=true,dumponexitpath=${LOG_PREFIX}.jfr" > {code} > {code:language=bash|title=Configuration for JitWatch} > env.java.opts: "-XX:+UnlockDiagnosticVMOptions -XX:+TraceClassLoading > -XX:+LogCompilation -XX:LogFile=${LOG_PREFIX}.jit -XX:+PrintAssembly" > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)