That's just the access log. Check /var/log/caddy.log
.
ok
I have missed something. I rechecked and I have updated all the entries I am aware of.
{"level":"info","ts":1596854555.2841263,"msg":"shutting down apps then terminating","signal":"SIGTERM"}
2020/08/07 19:42:35 [INFO][cache:0xc0004ce900] Stopped certificate maintenance routine
{"level":"info","ts":1596854555.293723,"logger":"admin","msg":"stopped previousserver"}
{"level":"info","ts":1596854555.2937498,"msg":"shutdown done","signal":"SIGTERM"}
{"level":"info","ts":1596855592.0685532,"msg":"using provided configuration","config_file":"/usr/local/www/Caddyfile","config_adapter":"caddyfile"}
{"level":"info","ts":1596855592.1420739,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["localhost:2019","[::1]:2019","127.0.0.1:2019"]}
2020/08/07 19:59:52 [INFO][cache:0xc000191d40] Started certificate maintenance routine
{"level":"info","ts":1596855592.1822028,"logger":"http","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
{"level":"info","ts":1596855592.1822739,"logger":"http","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
{"level":"info","ts":1596855592.3003247,"logger":"tls","msg":"cleaned up storage units"}
{"level":"info","ts":1596855592.300423,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["
new.tld"]}
{"level":"info","ts":1596855592.3382928,"msg":"autosaved config","file":"/.config/caddy/autosave.json"}
{"level":"info","ts":1596855592.3383346,"msg":"serving initial configuration"}
Successfully started Caddy (pid=2283) - Caddy is running in the background
2020/08/07 20:03:16 http: TLS handshake error from 120.148.210.80:39108: no certificate available for '
old.tld'
2020/08/07 20:03:16 http: TLS handshake error from 120.148.210.80:39109: no certificate available for '
old.tld'
2020/08/07 20:03:16 http: TLS handshake error from 120.148.210.80:39110: no certificate available for '
old.tld'
2020/08/07 20:03:16 http: TLS handshake error from 120.148.210.80:39111: no certificate available for '
old.tld'
2020/08/07 20:06:58 http: TLS handshake error from 120.148.210.80:50691: no certificate available for '
old.tld'
2020/08/07 20:06:58 http: TLS handshake error from 120.148.210.80:50690: no certificate available for '
old.tld'
2020/08/07 20:06:59 http: TLS handshake error from 120.148.210.80:50695: no certificate available for '192.168.1.198'
2020/08/07 20:06:59 http: TLS handshake error from 120.148.210.80:50696: no certificate available for '192.168.1.198'