Cant enable debug

Hi, im running caddy in docker compose with cloudflare for dns challenge and somehow it stopped working. However the current issue is that im seem unable to get any debug logs out of this.

Im running Caddy v2.9.1

(basic-auth) {
        basicauth / {
                myuser $2a$14$aaaFOwRrzsec123456SltpkiCtMNBdfooprdhU9KIbbbbbbb
        }
}

{
        # Set the ACME DNS challenge provider to use Cloudflare for all sites
        acme_dns cloudflare {$CLOUDFLARE_API_TOKEN}
        email {$ACME_EMAIL}
        acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
        debug

        log default {
                level DEBUG
                output stdout
                format console
                include http.log.access admin.api
        }
}

https:// {
        tls internal {
                on_demand
        }
}

couchdb.leocadio.nube.site.cloud {
        reverse_proxy http://couchdb:5984

}

chat.leodegario.nube.site.cloud {
        #        tls internal
        reverse_proxy http://big-agi:3000
}

bash-history.leocadio.nube.site.cloud {
        #        tls internal
        reverse_proxy http://atuin:8888
}

i think the log stanza is correctly placed, but logs shown are scarse only a few INFOs and nothing related to cloudflare, acme or TLS stuff.

any help is appreciated

You’re using custom include, which excludes everything else

That’s was it. thanks!

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