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
2016-07-08 15:09:11 -05:00
2016-07-08 15:09:11 -05:00
2017-02-24 15:22:15 +00:00
2016-08-18 21:29:30 -05:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2016-08-18 21:29:30 -05:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2017-05-03 15:23:33 +01:00
2016-07-08 15:09:11 -05:00
2016-07-08 15:09:11 -05:00
2016-07-08 15:09:11 -05:00
2016-07-08 15:09:11 -05:00
2016-07-08 15:09:11 -05:00
2018-01-29 09:52:22 -06:00
2016-07-08 15:09:11 -05:00
2016-07-08 15:09:11 -05:00
2017-02-24 15:22:15 +00:00
2016-07-08 15:09:11 -05:00
2018-04-13 17:42:14 +01:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2017-02-24 11:50:33 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2017-12-12 21:13:24 -06:00
2017-12-12 21:13:24 -06:00
2017-12-12 21:13:24 -06:00
2017-12-12 21:13:24 -06:00
2017-12-12 21:13:24 -06:00
2017-12-12 21:13:24 -06:00
2017-12-12 21:13:24 -06:00
2017-10-26 11:27:11 +01:00
2017-02-24 15:22:15 +00:00
2017-02-24 15:22:15 +00:00
2017-10-26 11:27:11 +01:00
2016-08-26 12:08:48 +01:00
2017-02-24 15:22:15 +00:00
2016-10-08 21:25:50 +01:00
2017-02-24 15:22:15 +00:00
2017-02-24 15:22:15 +00:00
2016-07-08 15:09:11 -05:00
2017-02-24 15:22:15 +00:00
2015-07-15 11:04:22 +02: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-02-24 15:22:15 +00:00
2016-07-08 15:09:11 -05: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-02-24 15:22:15 +00:00
2017-02-24 15:22:15 +00:00
2017-02-24 15:22:15 +00:00
2016-08-18 21:29:30 -05:00
2016-07-08 15:09:11 -05: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
2016-07-08 15:09:11 -05:00
2017-02-24 15:22:15 +00:00
2018-07-13 23:08:00 +01: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-02-24 15:22:15 +00:00
2017-02-24 15:22:15 +00:00
2017-04-28 22:48:26 +01:00
2017-04-28 22:48:26 +01:00
2017-04-28 22:48:26 +01:00
2017-04-28 22:48:26 +01:00
2017-04-28 22:48:26 +01:00
2017-04-28 22:48:26 +01:00
2017-04-28 22:48:26 +01:00
2017-07-05 20:20:30 +01:00
2017-07-05 20:20:30 +01:00
2017-04-28 22:48:26 +01:00
2017-04-28 22:48:26 +01:00
2017-07-05 20:20:30 +01:00
2017-04-28 22:48:26 +01:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2017-02-24 15:22:15 +00:00
2016-08-18 21:29:30 -05:00
2017-03-22 22:13:20 +00:00
2017-02-24 15:22:15 +00:00
2016-09-10 07:37:00 -05:00
2017-02-24 15:22:15 +00:00
2017-03-22 22:13:20 +00:00
2017-02-24 15:22:15 +00:00
2017-02-24 15:22:15 +00:00
2016-09-10 07:37:00 -05:00
2017-03-02 18:07:55 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-03 20:41:20 +00:00
2017-03-08 21:56:19 +00:00
2017-04-24 14:19:36 +01:00
2018-01-29 09:52:22 -06:00
2018-01-26 20:52:52 +00:00
2017-08-18 07:56:50 +01:00
2017-08-18 07:56:50 +01:00
2017-08-18 07:56:50 +01:00
2017-08-18 07:56:50 +01:00
2017-08-18 07:56:50 +01:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2017-02-24 15:22:15 +00:00
2016-07-08 15:09:11 -05: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-02-24 15:22:15 +00:00
2018-01-06 20:05:06 +00:00
2018-01-06 20:05:06 +00:00
2018-01-06 20:05:06 +00:00
2018-01-06 20:05:06 +00:00
2018-01-06 20:05:06 +00:00
2018-01-06 20:05:06 +00:00
2018-01-06 20:05:06 +00:00
2018-01-06 20:05:06 +00:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2018-01-29 09:52:22 -06:00
2016-08-12 11:05:58 -05:00
2016-06-15 14:51:23 +02:00
2016-06-09 00:40:04 -05:00
2016-06-09 00:40:04 -05:00
2016-06-09 00:40:04 -05:00
2016-07-08 15:09:11 -05:00
2017-04-27 20:54:39 +01:00
2017-04-27 20:54:39 +01:00
2017-04-27 20:54:39 +01:00
2016-07-07 21:10:06 -05:00
2016-08-12 14:42:57 -05:00
2016-08-18 21:29:30 -05:00
2018-02-12 09:15:44 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2018-03-13 13:26:23 +00:00
2017-03-22 14:28:50 +00:00
2018-03-13 13:26:23 +00:00
2017-03-22 14:28:50 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00:00
2018-01-26 20:52:52 +00: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
2017-05-04 11:04:10 +01:00
2018-04-25 20:52:12 +01:00
2016-08-18 21:29:30 -05:00
2017-03-02 18:07:55 +00:00
2017-03-02 18:07:55 +00:00
2017-03-02 18:07:55 +00:00
2017-02-24 15:22:15 +00:00
2017-02-24 15:22:15 +00:00
2016-09-20 22:01:29 +03:00
2016-09-20 22:01:29 +03:00
2016-09-20 22:01:29 +03:00
2017-02-24 15:22:15 +00:00
2017-02-24 15:22:15 +00:00
2017-12-30 11:42:51 +00:00
2017-12-30 11:42:51 +00:00
2017-12-30 11:42:51 +00:00
2017-12-30 11:42:51 +00:00
2017-12-30 11:42:51 +00:00
2017-12-30 11:42:51 +00:00
2017-12-30 11:42:51 +00:00
2017-12-30 11:42:51 +00:00
2017-12-30 11:42:51 +00:00
2017-12-30 11:42:51 +00:00
2017-12-30 11:42:51 +00:00
2017-12-30 11:42:51 +00:00
2017-12-30 11:42:51 +00:00