Re: Freeze break request: forward openshift logs to log01

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 01, 2023 at 05:58:57PM +0100, Aurelien Bompard wrote:
> > I'd like to setup log forwarding on our production cluster to log all
> > application level logs to log01.
> 
> +1 to that, it would be very useful to the folks developing apps as
> well, as we all know that no bug ever shows up when we deploy
> something to production.

ok. This is now done. 

You can find logs on log01.iad2.fedoraproject.org in
/var/log/merged/messages.log (for the current day) or
/var/log/hosts/worker*.ocp.fedoraproject.org/YYYY/MM/DD 

Logs look like: 

Mar  1 19:39:43 worker01.ocp.stg.iad2.fedoraproject.org fluentd:
namespace_name=bodhi, container_name=bodhi-web, pod_name=bodhi-web-80-zr4ph,
message=2023-03-01 19:39:42,722 DEBUG [MARKDOWN][ThreadPoolExecutor-0_0] Successfully loaded extension "markdown.extensions.fenced_code.FencedCodeExtension".

So you can search for the namespace, container, or specific pod. 

Happy log viewing. 

kevin

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux