Dave Shawley
d7370ab5e6
Rename CallbackManager.run to start.
...
It was too easy to confuse this with Runner.run
2016-11-03 07:43:23 -04:00
Dave Shawley
531b796559
Add sprockets.http.app module.
...
This module separates out the application state management from the
mechanics of running the application. The former is destined for a
sub-class of tornado.web.Application (as app.Application) and the
latter remains in sprockets.http.runner.
2016-11-01 22:01:27 -04:00
Gavin M. Roy
22a33b13ae
Include correlation-id in the structured log data when logging.
2016-09-20 16:44:45 -04:00
Gavin M. Roy
a2c31f31eb
Include environment and service in the structured log data
2016-09-19 10:02:46 -04:00
Gavin M. Roy
957ce4c4a5
Update for structured syslog output when non-debug
2016-09-16 15:45:23 -04:00
Gavin M. Roy
f1b9cdc195
Change non-debug logging to be structured for rsyslog parsing from docker
2016-09-16 15:22:31 -04:00
Gavin M. Roy
bb4c7e20a5
Import logging.config
2016-08-29 16:15:56 -04:00
Gavin M. Roy
03b3f9d0d5
Remove the hook on startup and sprockets.logging
2016-08-29 16:12:51 -04:00
Gavin M. Roy
ae85b3bc89
Ready 1.3.0
2016-08-29 15:10:14 -04:00
Gavin M. Roy
a056a05d78
Update the logging to remove JSON logging
2016-08-29 15:07:01 -04:00
Dave Shawley
160a3c70dd
Appease flake8.
2016-06-13 23:23:46 -04:00
Dave Shawley
2f263b0997
Add `httprun
` distutils command.
2016-06-13 23:23:17 -04:00
Gavin M. Roy
d17c668f83
Add async shutdown support an on_start callbacks
2016-03-10 17:10:31 -05:00
Kelly O'Brien
19951ec297
bump version 1.1.1 --> 1.1.2
2016-02-23 13:49:59 -05:00
Kelly O'Brien
ddafcc240b
document headers feature
2016-02-23 13:33:55 -05:00
Kelly O'Brien
0f819f2313
Allow xheaders to be passed in the settings
...
This will tell Tornado to use headers like X-Real-IP to get the user’s IP address instead of attributing all traffic to the lbl’s IP address.
2016-02-23 11:39:52 -05:00
Dave Shawley
f3bfb0bd28
Delay grabbing the IOLoop until after fork.
2016-02-15 13:01:16 -05:00
Dave Shawley
4278f513bb
Release 1.1.0
2016-02-11 14:45:09 -05:00
Dave Shawley
03e85b440c
Call sys.exit() when a before_run callback raises an exception.
2016-01-28 07:53:01 -05:00
Dave Shawley
a1ba8874f6
Add support for `before_run
` callbacks.
2016-01-27 18:24:02 -05:00
Dave Shawley
92ca0bf70e
Add log_config parameter to sprockets.http.run.
2015-12-10 10:48:25 -05:00
Dave Shawley
2d043ff752
Move _get_logging_config into sprockets.http.
2015-12-10 10:44:52 -05:00
Dave Shawley
557989399c
Move logging.config.dictConfig into http.run.
2015-12-10 10:41:59 -05:00
Gavin M. Roy
f028723e45
Use mediatype.ContentMixin if its also extended
2015-11-20 14:14:39 -05:00
Dave Shawley
12d2855bd7
Bumps for 1.0.0.
2015-11-20 08:26:27 -05:00
Dave Shawley
a7c8d95847
ErrorWriter: Add support for format_traceback.
2015-11-20 07:25:05 -05:00
Dave Shawley
cdb655be1e
Add sprockets.http.mixins.ErrorWriter.
2015-11-19 17:29:07 -05:00
Dave Shawley
702c0a112f
Add support for log_message
kwarg.
2015-11-19 11:51:34 -05:00
Dave Shawley
31feab1275
ErrorLogger: Handle tornado.web.HTTPError.
2015-11-19 08:02:47 -05:00
Dave Shawley
704c6d34d8
Add LoggingHandler and ErrorLogger mixins.
2015-11-18 16:15:37 -05:00
Dave Shawley
1cd8ef8fe0
Add support application.settings['number_of_procs'].
2015-09-24 15:01:20 -04:00
Dave Shawley
b5decd1aec
Add application shutdown callbacks.
2015-09-24 14:56:51 -04:00
Dave Shawley
23c73b0499
Bump version to 0.3.0
2015-08-28 10:58:19 -04:00
Dave Shawley
da0a9f5a8f
Set the log_function in Runner.start_server.
2015-08-28 10:57:06 -04:00
Dave Shawley
dbc023890a
Version bumps for 0.2.2.
2015-07-23 09:14:56 -04:00
Dave Shawley
bc5feeafb9
Version bump.
2015-07-23 07:40:52 -04:00
Dave Shawley
11e0d72511
Bump version to 0.2.0
2015-07-22 14:22:44 -04:00
Dave Shawley
f9645b0025
Add sprockets.http.run.
2015-07-22 14:11:32 -04:00
Dave Shawley
877581d9ce
Rework version management.
2015-07-22 13:29:16 -04:00
Gavin M. Roy
5a78150126
Add setup entry points
...
The entry point is used to register the module as a sprockets controller.
- Simplify the python 2.7 check
- Fix the MANIFEST.in format
- Add stub sprockets.http methods
2014-08-19 16:52:51 -04:00
Gavin M. Roy
30e407f922
Initial project structure
2014-08-19 12:58:29 -04:00