Skip to content

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

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で分類をする。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions