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
..
2016-07-08 15:09:11 -05:00
2018-01-12 09:02:24 +00:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-10-25 09:53:35 -04:00
2017-06-02 20:58:02 +01:00
2017-12-12 20:27:10 -06:00
2018-02-01 23:35:23 -06:00
2018-02-01 23:35:23 -06:00
2018-02-01 23:35:23 -06:00
2018-02-01 23:35:23 -06:00
2018-02-01 23:35:23 -06:00
2018-02-01 23:35:23 -06:00
2018-02-01 23:35:23 -06:00
2018-02-01 23:35:23 -06:00
2018-02-01 23:35:23 -06:00
2018-02-01 23:35:23 -06:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2018-01-19 08:04:01 -06:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-12-12 20:27:10 -06:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-08-18 21:29:30 -05:00
2017-09-29 21:13:27 +01:00
2016-09-23 08:02:38 +02:00
2017-12-12 20:27:10 -06:00
2016-07-08 15:09:11 -05:00
2018-01-18 20:50:19 +00:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2018-01-24 09:37:27 +00:00
2016-07-07 21:10:06 -05:00
2016-07-18 15:58:56 -05:00
2016-08-18 21:29:30 -05:00
2016-08-18 21:29:30 -05:00
2016-08-18 21:29:30 -05:00
2016-08-18 21:29:30 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2018-06-13 21:15:43 +01:00
2016-08-18 21:29:30 -05:00
2016-08-18 21:29:30 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2017-03-02 09:03:45 -06:00
2017-03-02 09:03:45 -06:00
2017-03-02 09:03:45 -06:00
2017-03-02 09:03:45 -06:00
2017-06-14 20:32:30 +01:00
2018-05-08 20:37:06 -05:00
2018-05-08 20:37:06 -05:00
2018-05-08 20:37:06 -05:00
2018-05-08 20:37:06 -05:00
2016-10-03 17:33:23 +01:00
2017-10-17 12:42:13 +01:00
2017-10-17 12:42:13 +01:00
2017-10-17 12:42:13 +01:00
2017-10-17 12:42:13 +01:00
2017-10-17 12:42:13 +01:00
2016-07-07 21:10:06 -05:00
2018-06-26 18:34:10 +01:00
2018-06-26 18:34:10 +01:00
2018-02-08 20:54:29 +00:00
2018-06-26 18:34:10 +01:00
2018-06-26 18:34:10 +01:00
2018-02-08 20:54:29 +00:00
2018-02-08 20:54:29 +00:00
2018-06-26 18:34:10 +01:00
2018-02-08 20:54:29 +00:00
2017-03-08 15:53:21 -06:00
2017-03-28 16:13:31 +01:00
2017-01-24 09:53:38 +00:00
2017-09-29 21:13:27 +01:00
2016-07-08 15:09:11 -05:00
2016-07-08 15:09:11 -05:00
2016-08-18 21:29:30 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2017-12-12 20:27:10 -06:00
2017-02-24 15:22:15 +00:00
2017-02-24 15:22:15 +00:00
2017-02-24 15:22:15 +00:00
2017-02-24 15:22:15 +00:00
2017-09-13 19:49:41 +01:00
2016-09-23 09:29:53 -04:00
2016-07-07 21:10:06 -05:00
2018-01-05 22:06:07 +00:00
2017-03-08 22:32:05 +00:00
2018-01-08 09:35:15 +01:00
2016-12-15 08:23:25 +00:00
2018-05-13 21:54:10 +01:00
2018-05-22 09:29:45 -05:00
2018-05-22 09:29:45 -05:00
2018-05-13 21:54:10 +01:00
2018-05-22 09:29:45 -05:00
2018-05-22 09:29:45 -05:00
2016-08-18 21:29:30 -05:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2016-08-12 08:22:40 +10:00
2016-08-18 21:29:30 -05:00
2016-08-18 21:29:30 -05:00
2017-05-23 10:28:44 -05:00
2016-10-19 22:53:02 +01:00
2018-07-13 23:08:00 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2016-09-05 16:19:53 +01:00
2016-11-01 14:19:31 -05:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-06-05 22:49:04 +01:00
2017-04-12 13:36:18 -05:00
2017-06-05 22:49:04 +01:00
2016-07-07 21:10:06 -05:00
2017-03-02 18:07:55 +00:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2017-03-02 18:07:55 +00:00
2016-09-05 14:47:31 +01:00
2016-07-07 21:10:06 -05:00
2016-07-07 21:10:06 -05:00
2016-09-28 08:00:35 +01:00
2018-01-18 20:50:19 +00:00
2017-05-04 08:03:10 +01:00
2017-05-01 23:49:11 -05:00
2017-05-01 23:49:11 -05:00
2017-05-01 23:49:11 -05:00
2017-05-01 23:49:11 -05:00
2017-05-01 23:49:11 -05:00
2017-05-01 23:49:11 -05:00
2018-02-18 21:31:18 +00:00
2017-05-01 23:49:11 -05:00
2017-07-07 16:05:55 +01:00
2017-05-01 23:49:11 -05:00
2017-05-01 23:49:11 -05:00
2017-05-01 23:49:11 -05:00
2017-05-01 23:49:11 -05:00
2017-05-01 23:49:11 -05:00
2017-05-01 23:49:11 -05:00
2017-12-06 21:36:01 +00:00
2017-05-01 23:49:11 -05:00
2017-05-01 23:49:11 -05:00
2016-08-18 21:29:30 -05:00
2016-10-19 21:46:02 +02:00