aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/init/celery/from_celery.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't disable existing loggers when initialising Celery.Ben Sturmfels2021-08-231-1/+1
| | | | | | | | | | | | | | | Prior to this change, the Celery logging did not include any of the logging calls within MediaGoblin because `disable_existing_loggers` defaulted to True. This was unhelpful and inconsistent with the logging behaviour of the web process. The MediaGoblin web process sets logging output based on the configuration in paste.ini. This is loaded by the `paster` program, rather than MediaGoblin itself. The MediaGoblin celery process manually loads its logging config from paste.ini, but previously defaulted to `disable_existing_loggers=True`, meaning that none of the application logging flowed through unless the logger was explicitly added to paste.ini.
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-051-2/+2
|
* removing old callable utilities and porting stuff over.Christopher Allan Webber2013-04-191-2/+2
|
* Switch several functions over to using the new callable_run* tools!Christopher Allan Webber2013-04-101-4/+2
|
* Updated raven pluginJoar Wandborg2013-03-031-0/+5
| | | | | | | - Added wrap_wsgi, celery_setup, celery_logging_setup hooks - Updated raven plugin docs - Updated production considerations docs - Added raven logging setup
* You can now set the PASTE_CONFIG environment variable to control logging setupChristopher Allan Webber2013-02-251-0/+5
| | | | | | | | So this should work: PASTE_CONFIG=/path/to/paste_foo.ini ./lazycelery.sh Thanks to Laurent Fournier for sponsoring this commit!
* Use logging.config.fileConfig()Joar Wandborg2013-02-071-41/+2
| | | | Instead of the monster I had built before.
* Removed debugging stuff from masterJoar Wandborg2012-09-301-8/+0
|
* Use RawConfigParser instead of dict.viewitemsJoar Wandborg2012-09-301-3/+7
| | | | dict.viewitems breaks python 2.6 compatibility.
* Set up celery logging from paste iniJoar Wandborg2012-09-301-0/+65
|
* from_celery.setup_self() didn't pay attention to default_conf_file kwarg, fixed.Christopher Allan Webber2012-05-201-4/+5
|
* Making celeryd consistent: look for mediagoblin_local.iniChristopher Allan Webber2012-04-221-1/+6
| | | | | Use mediagoblin_local.ini as default conf file if it exists, else use mediagoblin.ini, just like everything else.
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Whitespace and formatting cleanup.Nathan Yergler2011-10-011-1/+1
| | | | | | | * Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, =
* 508. Updates copyright/license informationWill Kahn-Greene2011-09-011-1/+1
|
* Move mediagoblin.celery_setup -> mediagoblin.init.celeryElrond2011-07-021-0/+60
As the first target of the new .init. submodule move celery_setup there. Quite straight forward, just a lot of places to change.