karakeep-app / karakeep-app/karakeep

feat: Add env vars to control log level and log format

Open
#2,016 4 comments 1 reaction 0 assignees View on GitHub
feature request status/untriaged
Dominant language
TypeScript
Stars
29.1k
Forks
1.5k
Avg merge
3d 11h
Merged PRs (30d)
5

Description

### Describe the feature you'd like

Standard LOG_LEVEL setting would be handy, as would an env var to control log format. Specifically, it would be great to have an option to log to JSON format.

### Describe the benefits this would bring to existing Karakeep users

Easier handling of log messages and ingestion into log aggregation services.

### Can the goal of this request already be achieved via other means?

Nope

### Have you searched for an existing open/closed issue?

- [x] I have searched for existing issues and none cover my fundamental request

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating Karakeep's logging setup and environment-variable handling, then determine how log level and format are configured. Done should include documented environment variables for log level and JSON output, with tests covering both behaviors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.