We don't have consistent centralized logging for our webapps. Some logs appear in /var/log/httpd/error_log, some have their own /var/log/<app> logs, etc.
I just documented how we can configure the Python logging module to output to SysLog, which will then get sent to our central rsyslog.
We should configure this for all our apps.
So, bodhi is the only one done now?
now need doing?
I'll whack away at this if it's still needed.
I'll take this.
Logging configuration for bodhi
Logging configuration for busmon
Logging configuration for fedocal
Logging configuration for elections
Logging configuration for packages and tagger
Logging configuration for fedmsg
Logging configuration for mirrormanager
Logging configuration for packagesdb
Logging configuration for ask.fedoraproject
I did some investigation of the problem. You can find my solutions to the problem in the uploaded files. Please have a look and tell me what I did wrong and what I need to fix.
Didn't pay attention to details when I was reading Fedora Infrastructure getting started page. I hope this time the content of the files is correct. Probably some changes will be needed, because I wasn't sure in some cases. Anyway I need someone to have a look at files and tell what is ok and what is not.
Sorry for the delay here... I asked lmacken to take a look at this and see this looks good. ;)
Thanks for working on it.
Your changes look good, janeznemanic! Thanks for doing this :) Setting the socktype to TCP is a good idea, since it apparently works nicely with rsyslog. I've updated my example on the wiki to include this.
As for rolling this out, I think doing one app at a time in staging is probably the best approach. I'm happy to help with this at some point next week if you've got some free time.
No problem. Just need to know what are the errors to correct them.
Anything new on this ticket?
Moving all currently open easyfix tickets to the HANDYWAVY-FUTURE milestone.
I'm clearing the assigned status on all easyfix tickets.
If you are an apprentice actively working on this ticket, feel free to reassign to yourself. Otherwise let a new apprentice have a look.
It look like most of the work is done (patchset). Any other apps that I can look off?
Some patches need to be reformatted for ansible. I'll dig into it.
Does this needs to be redone due to migration to Ansible?
I don't think so, but we probibly need to see where we are at. Are there any applications not yet setup?
Looking on log01 in /var/log/merged/app* should show the ones that are logging ok.
Is anyone working on this ticket? May I take it?
Please do. I'd suggest asking folks in #fedora-apps for the best way forward.
Kevin, looks like it was all done, should we close this ticket?
It is? then sure, we can.
We might bring this up in the meeting thursday (tomorrow) however and make sure everyone agrees it's done before we close it.
Would you like to add it to the gobby document for discussion?
to comment on this ticket.