📅  最后修改于: 2022-03-11 14:57:48.232000             🧑  作者: Mango
if you can't login anymore to access the recent log messages as described in the accepted answer.
Open the file /sites/default/settings.php with an editor or ftp client and add this line:
$config['system.logging']['error_level'] = 'verbose';