[PR #565] [MERGED] Add log args for root command #669

Closed
opened 2026-02-25 23:35:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/565
Author: @chain710
Created: 1/31/2023
Status: Merged
Merged: 3/17/2023
Merged by: @fmartingr

Base: masterHead: feat/loglevel


📝 Commits (1)

  • 9a5cf4e Add log args for root command

📊 Changes

3 files changed (+28 additions, -5 deletions)

View changed files

📝 internal/cmd/root.go (+22 -3)
📝 internal/cmd/utils.go (+5 -0)
📝 main.go (+1 -2)

📄 Description

For improved debugging convenience, add some log flags in root command

  • log-level: specify log level, default info
  • log-caller: whether log file:lineno or not, default false
  • log FullTimestamp

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-shiori/shiori/pull/565 **Author:** [@chain710](https://github.com/chain710) **Created:** 1/31/2023 **Status:** ✅ Merged **Merged:** 3/17/2023 **Merged by:** [@fmartingr](https://github.com/fmartingr) **Base:** `master` ← **Head:** `feat/loglevel` --- ### 📝 Commits (1) - [`9a5cf4e`](https://github.com/go-shiori/shiori/commit/9a5cf4e082f894afdfd337b3b7599be0b5c65099) Add log args for root command ### 📊 Changes **3 files changed** (+28 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `internal/cmd/root.go` (+22 -3) 📝 `internal/cmd/utils.go` (+5 -0) 📝 `main.go` (+1 -2) </details> ### 📄 Description For improved debugging convenience, add some log flags in root command - log-level: specify log level, default info - log-caller: whether log `file:lineno` or not, default false - log FullTimestamp --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:35:04 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#669
No description provided.