Cloudflare Page Warning: Logs exceeded 5000 line limit and have been truncated

My project migrated from yarn 1 to yarn 2 in Cloudflare Pages.

I will encounter an error when I try to build,

23:09:45.465	Initializing build environment. This may take up to a few minutes to complete
23:11:48.504	Success: Finished initializing build environment
23:11:48.504	Cloning repository...
23:11:49.506	Success: Finished cloning repository files
23:11:49.700	Installing dependencies
23:11:49.702	Python version set to 2.7
23:11:50.145	Attempting node version 'v15.5.1' from .nvmrc
23:11:50.683	Downloading and installing node v15.5.1...
23:11:50.822	Downloading https://nodejs.org/dist/v15.5.1/node-v15.5.1-linux-x64.tar.xz...
23:11:51.080	Computing checksum with sha256sum
23:11:51.202	Checksums matched!
23:11:53.653	Now using node v15.5.1 (npm v7.3.0)
23:11:53.716	Started restoring cached build plugins
23:11:53.719	Finished restoring cached build plugins
23:11:53.828	Attempting ruby version 2.7.1, read from environment
23:11:54.737	Using ruby version 2.7.1
23:11:54.980	Using PHP version 5.6
23:11:55.006	5.2 is already installed.
23:11:55.010	Using Swift version 5.2
23:11:55.011	Started restoring cached node modules
23:11:55.013	Finished restoring cached node modules
23:11:55.014	Started restoring cached yarn cache
23:11:55.016	Finished restoring cached yarn cache
23:11:55.019	Installing yarn at version 1.22.4
23:11:55.023	e[37mInstalling Yarn!e[0m
23:11:55.023	e[36m> Downloading tarball...e[0m
23:11:55.031	
23:11:55.031	[1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.HanJUiKq9A
23:11:55.032	  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
23:11:55.032	                                 Dload  Upload   Total   Spent    Left  Speed
23:11:55.163	
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    79  100    79    0     0    600      0 --:--:-- --:--:-- --:--:--   603
23:11:55.468	
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    93  100    93    0     0    213      0 --:--:-- --:--:-- --:--:--  3321
23:11:55.671	
100   625  100   625    0     0    977      0 --:--:-- --:--:-- --:--:--   977
23:11:55.770	
100 1215k  100 1215k    0     0  1645k      0 --:--:-- --:--:-- --:--:-- 1645k
23:11:55.771	
23:11:55.771	[2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.HanJUiKq9A.asc
23:11:55.829	
100    83  100    83    0     0   1410      0 --:--:-- --:--:-- --:--:--  1410
23:11:55.858	
100    97  100    97    0     0   1106      0 --:--:-- --:--:-- --:--:--  1106
23:11:55.882	
100   629  100   629    0     0   5653      0 --:--:-- --:--:-- --:--:--  5653
23:11:55.884	
100  1028  100  1028    0     0   9042      0 --:--:-- --:--:-- --:--:--  9042
23:11:55.912	e[36m> Verifying integrity...e[0m
23:11:55.935	gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
23:11:55.941	gpg: Good signature from "Yarn Packaging <[email protected]>"
23:11:55.943	gpg: Note: This key has expired!
23:11:55.943	Primary key fingerprint: 72EC F46A 56B4 AD39 C907  BBB7 1646 B01B 86E5 0310
23:11:55.943	     Subkey fingerprint: 6D98 490C 6F1A CDDD 448E  4595 4F77 6793 6947 5BAA
23:11:55.944	e[32m> GPG signature looks goode[0m
23:11:55.944	e[36m> Extracting to ~/.yarn...e[0m
23:11:55.987	e[36m> Adding to $PATH...e[0m
23:11:55.991	e[36m> We've added the following to your /opt/buildhome/.bashrc
23:11:55.991	> If this isn't the profile of your current shell then please add the following to your correct profile:
23:11:55.991	   
23:11:55.991	export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
23:11:55.991	e[0m
23:11:56.264	e[32m> Successfully installed Yarn 1.22.4! Please open another terminal where the `yarn` command will now be available.e[0m
23:11:56.956	Installing NPM modules using Yarn version 3.0.0
23:11:57.776	➤ YN0050: The cache-folder option has been deprecated; use rc settings instead
23:11:58.007	➤ YN0000: ┌ Resolution step

// ...... Other dependencies

23:12:28.292	➤ YN0013: │ [email protected]:4.3.0 can't be found in the cache and will be fetched from the remote registry
23:12:28.292	➤ YN0013: │ [email protected]:1.0.3 can't be found in the cache and will be fetched from the remote registry
23:12:28.292	➤ YN0013: │ [email protected]:0.7.0 can't be found in the cache and will be fetched from the remote registry
23:13:38.704	Warning: Logs exceeded 5000 line limit and have been truncated

This step will error, but I don’t know the reason. I cannot find the bug from log file.

How do I get the complete log file?

Thanks!