Console Logger
Component ID
2407641
Component name
Console Logger
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1688
Component created
Component changed
Component body
The Console Logger module does one thing and does it simply. It lets you use the PHP built in web server for local development and provides helpful logging to the console related to incoming requests, parameters, and log messages.
Just enable the module, and then start up a local server with drush runserver 2> /dev/null. (The 2> /dev/null will silence all the bits from the built in web server that show requests for static assets, such as CSS, JS and images.)
You can configure the blacklisted and censored params by adding an override in your settings.php. The defaults are:
$config['console_logger.settings']['blacklist_parameters'] = ['/form_build_id/', '/form_token/', '/^ajax.*ids$/', '/^ajax.*state$/'];
$config['console_logger.settings']['censor_parameters'] = ['/pass/'];
(each item must by a valid regular expression)
