You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Cesar Alvernaz (JIRA)" <ji...@apache.org> on 2019/06/04 21:56:00 UTC

[jira] [Commented] (FLINK-12383) "Log file environment variable 'log.file' is not set" despite web.log.path being set

    [ https://issues.apache.org/jira/browse/FLINK-12383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856145#comment-16856145 ] 

Cesar Alvernaz commented on FLINK-12383:
----------------------------------------

I could reproduce this issue following the instruction from [here|https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/kubernetes.html].  Since the `log.file` property is configured from a system property this warning can be fixed by setting the environment to add job manager-specific JVM options

 

```

env:

 - name: FLINK_ENV_JAVA_OPTS
   value: -Dlog.file=/tmp/log

``` 

> "Log file environment variable 'log.file' is not set" despite web.log.path being set
> ------------------------------------------------------------------------------------
>
>                 Key: FLINK-12383
>                 URL: https://issues.apache.org/jira/browse/FLINK-12383
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Web Frontend
>    Affects Versions: 1.8.0
>            Reporter: Henrik
>            Priority: Minor
>
> You get these warnings when starting a session cluster, despite having configured all things logs as specified by the configuration reference on the [web site|https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/config.html#web-frontend]:
> {code:java}
> [job] 2019-05-01 13:25:35,418 WARN  org.apache.flink.runtime.webmonitor.WebMonitorUtils           - Log file environment variable 'log.file' is not set.
> [job] 2019-05-01 13:25:35,419 INFO  org.apache.flink.runtime.webmonitor.WebMonitorUtils           - Determined location of main cluster component log file: /var/lib/log/flink/jobmanager.log
> [job] 2019-05-01 13:25:35,419 INFO  org.apache.flink.runtime.webmonitor.WebMonitorUtils           - Determined location of main cluster component stdout file: /var/lib/log/flink/jobmanager.out
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)