简体   繁体   中英

How do I view server logs in Laravel?

New to Laravel, coming from Rails. In Rails you start the server via rails serve and then begin seeing the server logs (http requests, db queries, etc). How do I see this in Laravel? I'm using Valet so I don't have to run any command to start the server.

The server logs, depend on your valet configuration,

See:Laravel Valet logs

However i think you are looking for the laravel logs, that catch most errors, before sending them to the actual server logs

You'll find these at./storage/logs in your project. If you didn't set up any different logging method.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM