Logs
ForkPress writes separate logs for WordPress, PHP, the local server wrapper, and background maintenance.
Branch previews disable WordPress’ generic fatal-error recovery screen and add a
ForkPress shutdown logger. When a plugin or theme fatals on a branch URL,
wp-debug.log should include the branch name, request URI, PHP file, line, and
fatal message instead of only showing WordPress’ “critical error” page.
For command options and log-file aliases, see forkpress logs.
Read logs
Show WordPress critical errors and PHP fatals:
forkpress logs --file wpFollow WordPress log output while reproducing a browser issue:
forkpress logs --file wp --followPrint every known log path:
forkpress logs --file all --pathsLog files
wp:.forkpress/logs/wp-debug.logphp:.forkpress/logs/php-errors.logserver:.forkpress/logs/php-server.logforkpress:.forkpress/logs/forkpress-server.loggc:.forkpress/logs/gc.log