tiredofit / docker-traefik-cloudflare-companion

Automatically Create CNAME records for containers served by Traefik
MIT License
404 stars 65 forks source link

Logging #62

Open ahmaddxb opened 2 years ago

ahmaddxb commented 2 years ago

Description of the feature

image

Is there a different logging level where it wont show this error?

alexdelprete commented 2 years ago

I have the same errors, but the opposite request: how can I debug what the problem causing the error is?

2022-03-06T20:23:15.119071722+01:00 [ERROR] ** rainmachine.domain.net - 1004 DNS Validation Error
2022-03-06T20:23:15.030924884+01:00 [ERROR] ** agh.domain.net - 1004 DNS Validation Error
2022-03-06T20:23:13.022975416+01:00 [ERROR] ** pbs.domain.net - 1004 DNS Validation Error
2022-03-06T20:23:12.972342271+01:00 [ERROR] ** aghsync.domain.net - 1004 DNS Validation Error
2022-03-06T20:23:10.860061229+01:00 [ERROR] ** inverter.domain.net - 1004 DNS Validation Error
2022-03-06T20:23:10.875191799+01:00 [ERROR] ** jellyfin.domain.net - 1004 DNS Validation Error

I turned on these 2 env variables, but I don't see details in the log:

      CONTAINER_LOG_LEVEL: DEBUG
      DEBUG_MODE: TRUE
tiredofit commented 2 years ago

I believe that error is coming from the Cloudflare python module. I don't believe there is any more output to get out of it.

alexdelprete commented 2 years ago

Thanks. I don't know how to fix it, the creation of the CNAMEs is working, but I costantly have those errors on all the records. Can't understand what the problem could be.