Skip to content

bug: パイプラインで機能しない #4

@Potato1682

Description

@Potato1682

コマンド入力待ち -> stdin
ログ・プロンプト -> stdout, stderr
となっているはずなので、Cのちからの源のisatty()関数で、

  • isatty(stdin) == false
    linesをEOFまで非同期で読み込み、サーバーが準備できたら実行する。
  • isatty(stdout) == false || isatty(stderr) == false
    stderrがttyである場合、stderrにprintするべきERROR, FATALのみをコンソール向けに出力。
    stdoutも同様。
    プロンプトは出力しないようにする。
    ログ出力もstdout, stderrで分類をする。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions