You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Greg Hogan (JIRA)" <ji...@apache.org> on 2017/04/20 13:57:04 UTC

[jira] [Updated] (FLINK-6280) Allow logging with Java flags

     [ https://issues.apache.org/jira/browse/FLINK-6280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Hogan updated FLINK-6280:
------------------------------
    Fix Version/s: 1.3.0

> 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
>             Fix For: 1.3.0
>
>
> 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)