glanceapp / glanceapp/glance

Debug logging

Open
#196 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
37.1k
Forks
1.5k
Avg merge
1h 11m
Merged PRs (30d)
1

Description

Sorry for the stupid question, but how do I enable debug logging? I'm curious to know how often my widgets are making http requests. I tried running glance with `LOG_LEVEL=debug` but didn't see anything after that. I searched the repo for phrases like "log" or "logging" and checked the configuration documentation. I'm not a go dev but I did see that "log/slog" is used so I imagine there is already some way to turn it on?

I'm using glance 5.1 via systemd and looking for logs in systemd journal. This is abolut all I ever see:

```
Aug 12 20:08:48 litten systemd[1]: Started glance.service.
Aug 12 20:08:48 litten glance[160400]: 2024/08/12 20:08:48 INFO Serving assets path=/var/lib/glance/assets
Aug 12 20:08:48 litten glance[160400]: 2024/08/12 20:08:48 INFO Starting server host=127.0.0.1 port=8032
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.