[
https://issues.apache.org/jira/browse/KYLIN-5759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17832345#comment-17832345
]
pengfei.zhan commented on KYLIN-5759:
-------------------------------------
h1. Root Cause
Some of the job building logs are in the file of {{kylin.log}} because the
{{logCategory}} is set by try-resource at the beginning of the building task.
After setting {{logCategory}}, when the {{logCategory}} were setted again with
try-resource, {{logCategory}} will be reset to null when {{logCategory}} closes
automatically. However, the {{logCategory}} that was set for the first time
won't be saved, so the subsequent logs will be printed to kylin.log.
> Log governance
> --------------
>
> Key: KYLIN-5759
> URL: https://issues.apache.org/jira/browse/KYLIN-5759
> Project: Kylin
> Issue Type: Improvement
> Components: Job Engine
> Affects Versions: 5.0-beta
> Reporter: pengfei.zhan
> Assignee: pengfei.zhan
> Priority: Major
> Fix For: 5.0-beta
>
>
> Improve the log governance.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)