Hello, I have recently started looking into mediawiki source code and trying to understand various codeflow. I am new to php as well.
I want to see the stacktrace from database functions. I have put following debug line in the function : ob_start(); debug_print_backtrace(); $data = ob_get_clean(); fwrite(STDERR, $data . PHP_EOL); But I don't see any output in /var/log/nginx/mediawiki.error ( in current setup mediawiki is served by nginx). Any help would be great. Or any other approach to access the stacktrace would also work. Thanks Sandeep
_______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
