JetBrains / ideolog

Interactive viewer for '.log' files.
MIT License
254 stars 55 forks source link

PHP error log #49

Open byteperfect opened 5 years ago

byteperfect commented 5 years ago

Is there a way to parse PHP log file with "Go To Source" functionality? If so, could you please provide a regex?

Thanks.

[30-Oct-2018 09:59:50 UTC] PHP Warning:  require_once(/path/public_html/wp-content/plugins/popup-builder-mailchimp/classes/SGMailchimpPopup.php): failed to open stream: No such file or directory in /path/wp-content/plugins/popup-builder-platinum_/classes/SGPopup.php on line 110
[30-Oct-2018 09:59:50 UTC] PHP Stack trace:
[30-Oct-2018 09:59:50 UTC] PHP   1. {main}() /path/index.php:0
[30-Oct-2018 09:59:50 UTC] PHP   2. require() /path/index.php:17
[30-Oct-2018 09:59:50 UTC] PHP   3. require_once() /path/wp-blog-header.php:19
[30-Oct-2018 09:59:50 UTC] PHP Fatal error:  require_once(): Failed opening required '/path/public_html/wp-content/plugins/popup-builder-mailchimp/classes/SGMailchimpPopup.php' (include_path='.:/opt/lampp/lib/php') in /path/wp-content/plugins/popup-builder-platinum_/classes/SGPopup.php on line 110
[30-Oct-2018 09:59:50 UTC] PHP Stack trace:
[30-Oct-2018 09:59:50 UTC] PHP   1. {main}() /path/index.php:0
[30-Oct-2018 09:59:50 UTC] PHP   2. require() /path/index.php:17
[30-Oct-2018 09:59:50 UTC] PHP   3. require_once() /path/wp-blog-header.php:19
[30-Oct-2018 10:05:27 UTC] PHP Deprecated:  Function create_function() is deprecated in /path/wp-content/mu-plugins/gd-system-plugin/class-gd-system-plugin-auto-upgrades.php on line 27
[30-Oct-2018 10:05:27 UTC] PHP Stack trace:
[30-Oct-2018 10:05:27 UTC] PHP   1. {main}() /path/index.php:0
[30-Oct-2018 10:05:27 UTC] PHP   2. require() /path/index.php:17
[30-Oct-2018 10:05:27 UTC] PHP   3. require_once() /path/wp-blog-header.php:13
[30-Oct-2018 10:07:36 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /path/wp-content/plugins/wp-meta-and-date-remover/wp-meta-and-date-remover.php on line 205
[30-Oct-2018 10:07:36 UTC] PHP Stack trace:
[30-Oct-2018 10:07:36 UTC] PHP  11. WP_Hook->do_action() /path/wp-includes/plugin.php:453
[30-Oct-2018 10:07:36 UTC] PHP  12. WP_Hook->apply_filters() /path/wp-includes/class-wp-hook.php:310
[30-Oct-2018 10:07:36 UTC] PHP  13. wpmdr_css_filter_option() /path/wp-includes/class-wp-hook.php:286
DevinWalker commented 5 years ago

+1

fearlex commented 5 years ago

+1 Also Wordpress debug.log support would be amazing. Right now the Wordpress debug.log is completely ignored.

ghost commented 4 years ago

+1

sc0ttkclark commented 1 year ago

Finding myself dealing with log files again and this came up almost immediately -- would love to see this figured out.