You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Rafał Boniecki (Jira)" <ji...@apache.org> on 2022/09/15 00:39:00 UTC

[jira] [Comment Edited] (YUNIKORN-1335) Ability to configure error log in yunikorn-web when using helm chart

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

Rafał Boniecki edited comment on YUNIKORN-1335 at 9/15/22 12:38 AM:
--------------------------------------------------------------------

Logging to files when running on kubernetes is a very bad practice. Nobody sees these logs because they are not picked up by log aggregators that only pickup stdout/stderr by default. If you want to log it at all redirect it to /dev/stdout or /dev/stderr. Ability to configure log level would be welcome as well.
Error log grew over 50MiB (my ephemeral-storage limit) in a day at which point pod was evicted.


was (Author: boniek):
Logging to files when running on kubernetes is a very bad practice. Nobody sees these logs because they are not picked up by log aggregators that only pickup stdout/stderr by default. If you want to log it at all redirect it to /dev/stdout or /dev/stderr. Ability to configure log level would be welcome as well.
Error log grew over 50MiB (my ephemeral-storage limit) in a day.

> Ability to configure error log in yunikorn-web when using helm chart
> --------------------------------------------------------------------
>
>                 Key: YUNIKORN-1335
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1335
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>            Reporter: Rafał Boniecki
>            Priority: Major
>
> I would want to redirect it to stderr (or disable it completely), as it is now it only uses ephemeral-storage (that grows indefinitely and kubelet evicts pod when ephemeral-storage limit is hit) and is largely useless.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org