librenms/scripts
Tony Murray eeb3d58f5b Improved Logging and Debugging (#8870)
Use Log facility when Laravel is booted.
Update init.php so we can easily boot Laravel for CLI scripts. (and just Eloquent, but that may go away)
Move all debug setup into set_debug() function and use that across all scripts.
Log Laravel database queries.
Send debug output to librenms log file when enabling debug in the webui.
Allow for colorized Log CLI output. (currently will leave % tags in log file output)

** Needs testing and perhaps tweaking still.

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
2018-07-13 23:08:00 +01:00
..
agent-local fix: Update Shebangs and daily.sh for FreeBSD compatibility (#6413) 2017-04-17 20:14:23 -05:00
Migration fix: Update Shebangs and daily.sh for FreeBSD compatibility (#6413) 2017-04-17 20:14:23 -05:00
watchmaillog fix: Update Shebangs and daily.sh for FreeBSD compatibility (#6413) 2017-04-17 20:14:23 -05:00
auth_test.php auth_test.php -v override config.php (#8508) 2018-04-05 22:43:54 +01:00
build-schema.php refactor: Refactor database and config init (#8527) 2018-04-11 16:15:13 +01:00
collect-port-polling.php feature: Script to collect port polling data and compare full walk vs selective port (#7626) 2017-11-17 09:10:37 +00:00
collect-snmp-data.php Clear the OS cache when running collect and save test data scripts (#8767) 2018-05-26 10:33:56 -05:00
composer_wrapper.php refactor: Use composer.phar first and self-update it. (#8339) 2018-03-13 20:08:40 +00:00
console-ui.php refactor: Centralize includes and initialization (#4991) 2016-11-21 20:12:59 +00:00
deploy-docs.sh feature: Added new alert rule builder UI and rule mapping UI (#8293) 2018-03-14 20:25:19 +00:00
gen_rancid.php fix: Added Extreme OS mapping to 'gen_rancid' (#7261) 2017-08-30 20:05:32 +01:00
gen_smokeping.php refactor: Centralize includes and initialization (#4991) 2016-11-21 20:12:59 +00:00
git-pre-commit-hook.sh feature: Added pre-commit git script to support failing fast 2017-01-24 21:37:49 +00:00
github-apply fix: github-apply sometimes fails on PRs with lots of commits (#7604) 2017-11-01 21:19:41 +00:00
github-remove github-remove the app directory too (#8849) 2018-06-29 22:57:01 +01:00
ifAlias feature: Add support for dynamic interfaces in ifAlias script (#6005) 2017-02-26 23:22:03 +00:00
manage_bills.php Follow on to PR 8168 - Fixed merge of manage_bills.php (#8467) 2018-03-28 22:44:32 -05:00
new-os.php Improved Logging and Debugging (#8870) 2018-07-13 23:08:00 +01:00
pre-commit.php fix pre-commit.php --quiet (#8771) 2018-05-26 09:11:38 +01:00
purge-port.php feature: Added purge-port scipt to allow deleting of ports from the CLI. (#7528) 2017-11-09 12:57:41 +00:00
removespikes.php PSR-2 Final cleanup (#4247) 2016-08-28 23:32:55 +01:00
removespikes.pl chmod 0755 to scripts 2015-04-28 23:04:08 +02:00
rename-mibs.php Fix mib renamer script when in a different directory (#8379) 2018-03-14 23:57:18 -05:00
rrdstep.php fix: Fixed IPv6 host renaming (#7275) 2017-09-02 13:45:31 -05:00
save-test-data.php Clear the OS cache when running collect and save test data scripts (#8767) 2018-05-26 10:33:56 -05:00
syslog-notify-oxidized.php refactor: Updated the oxidized script (#8572) 2018-04-26 10:14:28 -05:00
test-alert.php Improved Logging and Debugging (#8870) 2018-07-13 23:08:00 +01:00
test-template.php Improved Logging and Debugging (#8870) 2018-07-13 23:08:00 +01:00
tune_port.php Tune port update (#5795) 2017-02-06 18:49:16 -06:00