GithubHelp home page GithubHelp logo

Comments (10)

tkmsst avatar tkmsst commented on April 28, 2024 1

お忙しいところご返答ありがとうございます。
こちらのハードウェアの一時的な不具合のようで正常に視聴できました。

また、pm2-logrotateをインストールしていたため、logrotateの挙動を
mirakurunの自体の挙動と勘違いしておりました。

お手数おかけして申し訳ありません。
ありがとうございました。

from mirakurun.

kanreisa avatar kanreisa commented on April 28, 2024

@epgdatacapbon logLevel-2 にしてみてはいかがでしょうか?

from mirakurun.

tkmsst avatar tkmsst commented on April 28, 2024

ご返答ありがとうございます。
チャンネル変更時等、mirakurun.stdout.logへのlog出力は行われますが、
だいぶ軽減されました。

from mirakurun.

kanreisa avatar kanreisa commented on April 28, 2024

@epgdatacapbon 差し支えなければチャンネル変更時などのログを見せていただけますか?(気になるところは伏字にしてOKです)

from mirakurun.

tkmsst avatar tkmsst commented on April 28, 2024

こちらでお役に立ちますでしょうか。
必要であれば、一旦消去して最初から取り直しますのでご連絡ください。
状況としては、EPGStationでTBSの下町ロケットを録画し、録画終了後、TVTestにてBonDriver_Mirakurunで視聴を行ったログになります。
こうしてみると「loglevel: -2」で1番組を録画したのみにしてはログの出力が多いように思います。

    • GET /api/services HTTP/1.1 200 - - 0.962 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 156.881 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.372 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 2.172 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 136.512 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.388 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 2.232 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 166.485 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.382 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 2.042 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 115.040 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.367 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 2.105 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 99.579 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.356 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 0.881 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 164.123 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.406 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 3.812 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 140.917 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.210 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 1.413 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 153.609 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 2.013 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 1.019 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 189.550 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.376 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 0.962 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 137.193 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.206 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 3.238 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 100.997 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.419 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 3.143 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 137.952 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.359 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 3.225 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 163.439 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.311 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 1.245 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 111.947 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.396 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 1.719 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 148.173 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.351 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 2.275 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 157.884 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.218 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 0.870 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 96.941 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.413 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 0.896 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 81.488 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.385 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 2.718 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 129.454 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.406 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 2.015 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 124.874 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.360 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 1.903 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 139.342 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.350 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 1.886 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 145.158 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.195 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/services HTTP/1.1 200 - - 0.883 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs HTTP/1.1 200 - - 104.748 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/tuners HTTP/1.1 200 - - 0.213 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
    • GET /api/programs/327390104855120/stream?decode=1 HTTP/1.1 200 - - 17467.469 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
      192.168.1.xxx - GET /api/services HTTP/1.1 200 - - 2.158 ms -
      192.168.1.xxx - GET /api/channels/GR/21/services/1056/stream?decode=1 HTTP/1.0 200 - - 909.522 ms -

from mirakurun.

kanreisa avatar kanreisa commented on April 28, 2024

なるほどよくわかりました
修正します

from mirakurun.

kanreisa avatar kanreisa commented on April 28, 2024

@epgdatacapbon 修正してみました。
https://github.com/Chinachu/Mirakurun/blob/master/CHANGELOG.md#277-2019-01-03

from mirakurun.

tkmsst avatar tkmsst commented on April 28, 2024

sudo npm install mirakurun@latest -g --unsafe --production
にてアップデートしたところ、視聴、録画ができなくなりました。
recpt1等が起動しないようです。
swagger-uiは動いており、そちらでもstreamの取得ができないようです。

from mirakurun.

tkmsst avatar tkmsst commented on April 28, 2024

現在はlogがmaxLogHistoryで指定した行を超えると、日付を付されたファイル名で別に保存されるようですが、mirakurunを「loglevel: FATAL」以上で使い続けているとlogファイルが作り続けられるという仕様でしょうか。

from mirakurun.

kanreisa avatar kanreisa commented on April 28, 2024
  • もう一度アップデートを試してみてください。ダメならサーバーを(物理的に)再起動してみてください。
  • maxLogHistory はメモリ上に保持するログの行数です。
  • ログファイルの制御は PM2 に依存しています。

ログローテート:

pm2 install pm2-logrotate

設定: https://github.com/keymetrics/pm2-logrotate#configure

from mirakurun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.