Hi, it really depends what you usually do or your company usually does. I like to have the Ceph daemons log to file [0] as they used to before cephadm, and I stop them from logging to journald as mentioned in the same section. I haven't used docker for Ceph myself yet (we stick to podman), some of our customers do but I can't recall if and how they manage their docker logging. If you don't have existing guidelines, define your own or follow your personal preference. Regards, Eugen [0] https://docs.ceph.com/en/latest/cephadm/operations/#logging-to-files Zitat von J-P Methot <jp.methot@planethoster.info>:
Hi,
We've noticed that on some of our older setups (Pacific here), we're getting what appears to be duplicate logs for our ceph docker containers deployed with cephadm. These logs are located at "/var/lib/docker/containers/*containerid*-json.log", are generated by Docker and don't rotate by default. We're wondering what would be the best practice here. Would it be best to setup log rotation for these files or is it safe to just stop Docker from logging at all?
-- Mes salutations distinguées | Best regards Jean-Philippe MÉTHOT (Il, Lui | He/Him) Administrateur Infra sénior | Senior Infra administrator PlanetHoster
AVIS: Ce courriel est confidentiel et peut être l'objet de secret professionnel. Tout usage ou diffusion de celui-ci par une personne autre que son destinataire est illégal. Si vous recevez ce courriel par erreur, veuillez nous en aviser sans délai et le supprimer de votre système.
This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake, please let us know by e-mail reply and delete it from your system. _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io