Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

バックエンドのログ出力を強化する #15481

Open
1 task
samunohito opened this issue Feb 14, 2025 · 7 comments
Open
1 task

バックエンドのログ出力を強化する #15481

samunohito opened this issue Feb 14, 2025 · 7 comments
Labels
✨Feature This adds/improves/enhances a feature 🧑‍🔧Maintenance Related issues for maintaining server functionality packages/backend Server side specific issue/PR

Comments

@samunohito
Copy link
Member

samunohito commented Feb 14, 2025

Summary

以下の内容を実装し、バックエンドのログ出力機能を強化したいです。

  • ログの種別([download]とか[remote ap]とか書かれてるやつ)ごとに出力するレベルを調整可能に
  • ログの出力フォーマットや内容を定義可能に(logbackやslf4jみたいに変数を置換するようなイメージ。現在日時とか出せる奴も増やしたい)
  • ログの出力先プロバイダ作成(いまはstdoutのみだがsyslogなども直接設定できるようにする)
  • APIのreq/resをログに出せるようにする

一気にやると大きくなることが想定される場合、sub-issueなどで小分けにして1つずつやってもよいかもしれません。

Purpose

サーバ運用の改善に

Do you want to implement this feature yourself?

  • Yes, I will implement this by myself and send a pull request
@samunohito samunohito added packages/backend Server side specific issue/PR ✨Feature This adds/improves/enhances a feature 🧑‍🔧Maintenance Related issues for maintaining server functionality labels Feb 14, 2025
@syuilo
Copy link
Member

syuilo commented Feb 14, 2025

syslogなんで廃止したんだっけ

@samunohito
Copy link
Member Author

(もともとあったんです?)

@syuilo
Copy link
Member

syuilo commented Feb 14, 2025

あったわね

@syuilo
Copy link
Member

syuilo commented Feb 14, 2025

https://misskey-hub.net/ja/docs/releases/#_1330
ほむん

@1673beta
Copy link
Contributor

まともにメンテナンスされているライブラリが存在しないため
#9774 (comment)

@samunohito
Copy link
Member Author

oh...

@samunohito
Copy link
Member Author

samunohito commented Feb 14, 2025

syslogなしで。
(復活させる余地があるのであればその旨コメントいただければ…)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨Feature This adds/improves/enhances a feature 🧑‍🔧Maintenance Related issues for maintaining server functionality packages/backend Server side specific issue/PR
Projects
Development

No branches or pull requests

3 participants