Some way to see the errors?

1. The problem I’m having

I’m having trouble figuring out where the information on errors is stored and how to access this. I’m checking journalctl, and the access.log that I’ve asked Caddy to generate, but there’s no information on the reasons for why a request failed. Is the file missing? Are the permissions not right? Did the proxied endpoint not reply? I’m used to being able to see this kind of output, but I struggle to find this in Caddy.

2. Error messages and/or full log output:


3. Caddy version:


4. How I installed and ran Caddy:

From apt

a. System environment:

Debian 12, VPS

b. Command:

I’ve tried:

tail /var/log/caddy/error.log
journalctl -fu caddy
systemctl status caddy

c. Service/unit/compose file:


d. My complete Caddy config:

:80 {

	log {
		output file /var/log/caddy/access.log

	root * /var/phorge/phorge/webroot/;
	encode {
		gzip 6


I’ve just learned about the debug global option: Global options (Caddyfile) — Caddy Documentation

I’ve added


to the top of my Caddyfile and found the issue with journalctl -f

You’re running a pretty old version. Please upgrade to the latest, v2.7.5

Correct. Also, the help topic template links you to that as well.

Don’t use ; in Caddy, that’s not valid syntax.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.