Commit Graph

56 Commits (a7b0618f91a4e7490c319f47d2b40b6d82aced34)

Author SHA1 Message Date
Raul Ochoa e5c3c282ef Log Node.js version on startup
8 years ago
Raul Ochoa 41f248d731 Use logError
8 years ago
Raul Ochoa 18a517b7bf Allow to use `--config /path/to/config.js` to specify configuration file
8 years ago
Raul Ochoa 76d27c9fce Allow to use absolute paths for log files
8 years ago
Raul Ochoa 38d57533c2 Discourage console usage, global.logger should be used when required
8 years ago
Raul Ochoa 5ad567803d Set backlog on server listen
9 years ago
Raul Ochoa 31fe06e3ce Use listener and remove etag
9 years ago
Raul Ochoa c56ef8e0da Merge branch 'master' into standalone-server
9 years ago
Raul Ochoa 0561a28a4d Make http and https globalAgent options configurable
9 years ago
Raul Ochoa 9ef96080a6 Log PID on start
9 years ago
Raul Ochoa 2e063cc2d2 Send memory usage stats
9 years ago
Raul Ochoa cd28a4fbcc redis-mpool `noReadyCheck` and `unwatchOnRelease` options from config
9 years ago
Raul Ochoa 0da6495330 Fixes `unwatchOnRelease` redis config
9 years ago
Raul Ochoa bf24347328 Exposes redis `noReadyCheck` config
9 years ago
Raul Ochoa 5967c5d1d5 Reorg app.js
9 years ago
Raul Ochoa 2d3f2667ca Standalone server initial implementation
9 years ago
Raul Ochoa 907ed478cf Tidy app.js
10 years ago
Raul Ochoa 400e51f13a Removes rollbar as optional logger
10 years ago
Raul Ochoa a2a09979e4 Remove dump render cache stats
10 years ago
Raul Ochoa 3b4b5ab298 Closes fd for log files on `kill -HUP`. Fixes #230
10 years ago
Raul Ochoa f72c4f28da Prepend also the app name
10 years ago
Raul Ochoa a248fe5c4b Prepend redis-pool in statsd key for redis-mpool status
10 years ago
Raul Ochoa 804088009e Report to statsd the status of redis pools
10 years ago
Raul Ochoa 711c1a89ee Merge branch 'master' into one-redis-mpool
10 years ago
Raul Ochoa d89b2986fd Allow to add more node.js' threadpool workers via process.env.UV_THREADPOOL_SIZE
10 years ago
Raul Ochoa 24cbd192aa Share one redis-mpool across the application
10 years ago
Luis Bosque 2c1d46f159 [CDB-3678] Creates api_hostname global variable
10 years ago
Sandro Santilli 8e9d72982a Refuse to start if log_filename points to a non-existing directory
11 years ago
Raul Ochoa d2f0180475 Merge remote-tracking branch 'rochoa/master'
11 years ago
Raul Ochoa 4da0b1e07c CDB-2096 Configures the CWD for log4js logger.
11 years ago
Raul Ochoa 248cb4bd76 Removes unused dependency.
11 years ago
Sandro Santilli 312194228a Stop duplicating global.environment as global.settings
11 years ago
Sandro Santilli 5c1125900b Add support for log_filename directive, reopen logfile on SIGHUP
11 years ago
Sandro Santilli 08b8741282 Reload log files on SIGUSR2
11 years ago
Sandro Santilli 471edabe4d Reword uncaught exception error, and log full stack
11 years ago
Sandro Santilli 60b552027b Add optional support for rollbar
11 years ago
Sandro Santilli 62cbb15089 Include tiler version in startup log
11 years ago
Sandro Santilli ed5b045a15 Allow using NODE_ENV env variable to determine app configuration
11 years ago
Sandro Santilli 1c3734fde7 Make server_option a callable function, to reduce globals
11 years ago
Sandro Santilli 719346a472 Use log4js logger
11 years ago
Sandro Santilli 0dffb0fe85 We don't use Windshaft directly, no need to require it
11 years ago
Sandro Santilli 0f90d687c7 Implement signed teplate maps
11 years ago
Sandro Santilli 0b3fdb07f6 Drop unneeded include from outermost app
11 years ago
Sandro Santilli 4e7f92c60d Write a deprecation warning when handling SIGUSR1 (#71)
12 years ago
Sandro Santilli d95ac85b17 Deprecate USR1 signal handling, add USR2 with same semantic
12 years ago
Sandro Santilli 031c6ee0cd Allow "staging" as env name from app.js
12 years ago
Sandro Santilli e408d04fc5 Require Windshaft 0.8.4 to add dump of cache stats on SIGUSR1
12 years ago
Sandro Santilli 2510a47262 Add maxConnection environment configuration, have it default to 128
12 years ago
Sandro Santilli bb00bf1c05 Use 'host' configuration for HTTP listening (both app and cluster)
12 years ago
Sandro Santilli da593ded74 Require carto_data only after setting the global env (closes #28)
12 years ago