[{"data":1,"prerenderedAt":387},["ShallowReactive",2],{"\u002Fdocs\u002F2.x":3,"layout-navigation":118,"content-\u002Fdocs\u002F2.x":273,"docs-navigation":335},{"id":4,"title":5,"body":6,"description":110,"extension":111,"meta":112,"navigation":113,"path":114,"seo":115,"stem":116,"__hash__":117},"docs\u002Fdocs\u002F2.x\u002F1.index.md","Introduction",{"type":7,"value":8,"toc":99},"minimark",[9,14,26,29,37,44,49,54,57,61,64,68,71,81,85,88,96],[10,11,13],"h1",{"id":12},"welcome-to-log-viewer","Welcome to Log Viewer",[15,16,17,18,25],"p",{},"Log Viewer is a package for ",[19,20,24],"a",{"href":21,"rel":22},"https:\u002F\u002Fwww.laravel.com",[23],"nofollow","Laravel"," allowing you to easily read, search and manage your Laravel logs. You will no longer need to read the raw Laravel log files trying to find what you're looking for.",[15,27,28],{},"It is built from the ground-up with custom indexing methods that make it much faster and efficient than other log viewer packages out there.",[15,30,31,32,36],{},"The user interface is already built for you, and all that is left for you - is to just run ",[33,34,35],"code",{},"composer require opcodesio\u002Flog-viewer",".",[15,38,39,40,36],{},"Let's move to the next step and ",[19,41,43],{"href":42},"\u002Fdocs\u002F2.x\u002Finstall","install Log Viewer",[45,46,48],"h2",{"id":47},"frequently-asked-questions","Frequently Asked Questions",[50,51,53],"h3",{"id":52},"can-i-use-log-viewer-on-an-existing-laravel-project","Can I use Log Viewer on an existing Laravel project?",[15,55,56],{},"Yes. Log Viewer is isolated from the rest of your app. It has its own route, serves its own assets, etc. All you have to do is visit a particular URL in the browser (configurable).",[50,58,60],{"id":59},"can-i-use-log-viewer-on-a-non-laravel-project","Can I use Log Viewer on a non-Laravel project?",[15,62,63],{},"No. This iteration of Log Viewer is built for Laravel applications only.",[50,65,67],{"id":66},"does-log-viewer-work-with-older-laravelphp-versions","Does Log Viewer work with older Laravel\u002FPHP versions?",[15,69,70],{},"Log Viewer has these requirements:",[72,73,74,78],"ul",{},[75,76,77],"li",{},"PHP 8.0 or higher",[75,79,80],{},"Laravel 8 or higher",[50,82,84],{"id":83},"what-kind-of-logs-does-log-viewer-support","What kind of logs does Log Viewer support?",[15,86,87],{},"Log Viewer currently only knows how to read these types of logs:",[72,89,90,93],{},[75,91,92],{},"Laravel logs",[75,94,95],{},"Laravel Horizon logs (up to version v9.20)",[15,97,98],{},"Other log types are not supported and the files will appear empty inside Log Viewer.",{"title":100,"searchDepth":101,"depth":101,"links":102},"",2,[103],{"id":47,"depth":101,"text":48,"children":104},[105,107,108,109],{"id":52,"depth":106,"text":53},3,{"id":59,"depth":106,"text":60},{"id":66,"depth":106,"text":67},{"id":83,"depth":106,"text":84},"Log Viewer is a package for Laravel allowing you to easily read, search and manage your Laravel logs. You will no longer need to read the raw Laravel log files trying to find what you're looking for.","md",{},false,"\u002Fdocs\u002F2.x",{"title":5,"description":110},"docs\u002F2.x\u002F1.index","VluwjJ4zE3DQAO0UxjGSntRAoElSmPE8VJS1d1xzoIw",[119],{"title":120,"path":121,"stem":122,"children":123,"page":113},"Docs","\u002Fdocs","docs",[124,154,211],{"title":125,"path":126,"stem":127,"children":128,"page":113},"1X","\u002Fdocs\u002F1.x","docs\u002F1.x",[129],{"title":130,"path":131,"stem":132,"children":133,"page":113},"Configuration","\u002Fdocs\u002F1.x\u002Fconfiguration","docs\u002F1.x\u002F3.configuration",[134,138,142,146,150],{"title":135,"path":136,"stem":137},"Route & domain","\u002Fdocs\u002F1.x\u002Fconfiguration\u002Froute-and-domain","docs\u002F1.x\u002F3.configuration\u002F1.route-and-domain",{"title":139,"path":140,"stem":141},"Middleware","\u002Fdocs\u002F1.x\u002Fconfiguration\u002Fmiddleware","docs\u002F1.x\u002F3.configuration\u002F2.middleware",{"title":143,"path":144,"stem":145},"Access to the Log Viewer","\u002Fdocs\u002F1.x\u002Fconfiguration\u002Faccess-to-log-viewer","docs\u002F1.x\u002F3.configuration\u002F3.access-to-log-viewer",{"title":147,"path":148,"stem":149},"Access to log files","\u002Fdocs\u002F1.x\u002Fconfiguration\u002Faccess-to-log-files","docs\u002F1.x\u002F3.configuration\u002F4.access-to-log-files",{"title":151,"path":152,"stem":153},"Managing indices","\u002Fdocs\u002F1.x\u002Fconfiguration\u002Fmanaging-indices","docs\u002F1.x\u002F3.configuration\u002F5.managing-indices",{"title":155,"path":114,"stem":156,"children":157,"page":113},"2X","docs\u002F2.x",[158,190],{"title":130,"path":159,"stem":160,"children":161,"page":113},"\u002Fdocs\u002F2.x\u002Fconfiguration","docs\u002F2.x\u002F4.configuration",[162,165,168,172,175,178,182,186],{"title":135,"path":163,"stem":164},"\u002Fdocs\u002F2.x\u002Fconfiguration\u002Froute-and-domain","docs\u002F2.x\u002F4.configuration\u002F1.route-and-domain",{"title":139,"path":166,"stem":167},"\u002Fdocs\u002F2.x\u002Fconfiguration\u002Fmiddleware","docs\u002F2.x\u002F4.configuration\u002F2.middleware",{"title":169,"path":170,"stem":171},"Including & excluding files","\u002Fdocs\u002F2.x\u002Fconfiguration\u002Fincluding-excluding-files","docs\u002F2.x\u002F4.configuration\u002F3.including-excluding-files",{"title":143,"path":173,"stem":174},"\u002Fdocs\u002F2.x\u002Fconfiguration\u002Faccess-to-log-viewer","docs\u002F2.x\u002F4.configuration\u002F4.access-to-log-viewer",{"title":147,"path":176,"stem":177},"\u002Fdocs\u002F2.x\u002Fconfiguration\u002Faccess-to-log-files","docs\u002F2.x\u002F4.configuration\u002F5.access-to-log-files",{"title":179,"path":180,"stem":181},"Multiple hosts","\u002Fdocs\u002F2.x\u002Fconfiguration\u002Fmultiple-hosts","docs\u002F2.x\u002F4.configuration\u002F6.multiple-hosts",{"title":183,"path":184,"stem":185},"Result caching","\u002Fdocs\u002F2.x\u002Fconfiguration\u002Fresult-caching","docs\u002F2.x\u002F4.configuration\u002F7.result-caching",{"title":187,"path":188,"stem":189},"Other options","\u002Fdocs\u002F2.x\u002Fconfiguration\u002Fother","docs\u002F2.x\u002F4.configuration\u002F8.other",{"title":191,"path":192,"stem":193,"children":194,"page":113},"Api","\u002Fdocs\u002F2.x\u002Fapi","docs\u002F2.x\u002F5.api",[195,199,203,207],{"title":196,"path":197,"stem":198},"Folders","\u002Fdocs\u002F2.x\u002Fapi\u002Ffolders","docs\u002F2.x\u002F5.api\u002F1.folders",{"title":200,"path":201,"stem":202},"Files","\u002Fdocs\u002F2.x\u002Fapi\u002Ffiles","docs\u002F2.x\u002F5.api\u002F2.files",{"title":204,"path":205,"stem":206},"Logs","\u002Fdocs\u002F2.x\u002Fapi\u002Flogs","docs\u002F2.x\u002F5.api\u002F3.logs",{"title":208,"path":209,"stem":210},"Hosts","\u002Fdocs\u002F2.x\u002Fapi\u002Fhosts","docs\u002F2.x\u002F5.api\u002F4.hosts",{"title":212,"path":213,"stem":214,"children":215,"page":113},"3X","\u002Fdocs\u002F3.x","docs\u002F3.x",[216,244,257],{"title":130,"path":217,"stem":218,"children":219,"page":113},"\u002Fdocs\u002F3.x\u002Fconfiguration","docs\u002F3.x\u002F4.configuration",[220,223,226,229,232,235,238,241],{"title":135,"path":221,"stem":222},"\u002Fdocs\u002F3.x\u002Fconfiguration\u002Froute-and-domain","docs\u002F3.x\u002F4.configuration\u002F1.route-and-domain",{"title":139,"path":224,"stem":225},"\u002Fdocs\u002F3.x\u002Fconfiguration\u002Fmiddleware","docs\u002F3.x\u002F4.configuration\u002F2.middleware",{"title":169,"path":227,"stem":228},"\u002Fdocs\u002F3.x\u002Fconfiguration\u002Fincluding-excluding-files","docs\u002F3.x\u002F4.configuration\u002F3.including-excluding-files",{"title":143,"path":230,"stem":231},"\u002Fdocs\u002F3.x\u002Fconfiguration\u002Faccess-to-log-viewer","docs\u002F3.x\u002F4.configuration\u002F4.access-to-log-viewer",{"title":147,"path":233,"stem":234},"\u002Fdocs\u002F3.x\u002Fconfiguration\u002Faccess-to-log-files","docs\u002F3.x\u002F4.configuration\u002F5.access-to-log-files",{"title":179,"path":236,"stem":237},"\u002Fdocs\u002F3.x\u002Fconfiguration\u002Fmultiple-hosts","docs\u002F3.x\u002F4.configuration\u002F6.multiple-hosts",{"title":183,"path":239,"stem":240},"\u002Fdocs\u002F3.x\u002Fconfiguration\u002Fresult-caching","docs\u002F3.x\u002F4.configuration\u002F7.result-caching",{"title":187,"path":242,"stem":243},"\u002Fdocs\u002F3.x\u002Fconfiguration\u002Fother","docs\u002F3.x\u002F4.configuration\u002F8.other",{"title":245,"path":246,"stem":247,"children":248,"page":113},"Log Types","\u002Fdocs\u002F3.x\u002Flog-types","docs\u002F3.x\u002F5.log-types",[249,253],{"title":250,"path":251,"stem":252},"Default Log Types","\u002Fdocs\u002F3.x\u002Flog-types\u002Fdefault","docs\u002F3.x\u002F5.log-types\u002F1.default",{"title":254,"path":255,"stem":256},"Custom Log Types","\u002Fdocs\u002F3.x\u002Flog-types\u002Fcustom","docs\u002F3.x\u002F5.log-types\u002F2.custom",{"title":191,"path":258,"stem":259,"children":260,"page":113},"\u002Fdocs\u002F3.x\u002Fapi","docs\u002F3.x\u002F6.api",[261,264,267,270],{"title":196,"path":262,"stem":263},"\u002Fdocs\u002F3.x\u002Fapi\u002Ffolders","docs\u002F3.x\u002F6.api\u002F1.folders",{"title":200,"path":265,"stem":266},"\u002Fdocs\u002F3.x\u002Fapi\u002Ffiles","docs\u002F3.x\u002F6.api\u002F2.files",{"title":204,"path":268,"stem":269},"\u002Fdocs\u002F3.x\u002Fapi\u002Flogs","docs\u002F3.x\u002F6.api\u002F3.logs",{"title":208,"path":271,"stem":272},"\u002Fdocs\u002F3.x\u002Fapi\u002Fhosts","docs\u002F3.x\u002F6.api\u002F4.hosts",{"id":4,"title":5,"body":274,"description":110,"extension":111,"meta":333,"navigation":113,"path":114,"seo":334,"stem":116,"__hash__":117},{"type":7,"value":275,"toc":325},[276,278,283,285,289,293,295,297,299,301,303,305,307,313,315,317,323],[10,277,13],{"id":12},[15,279,17,280,25],{},[19,281,24],{"href":21,"rel":282},[23],[15,284,28],{},[15,286,31,287,36],{},[33,288,35],{},[15,290,39,291,36],{},[19,292,43],{"href":42},[45,294,48],{"id":47},[50,296,53],{"id":52},[15,298,56],{},[50,300,60],{"id":59},[15,302,63],{},[50,304,67],{"id":66},[15,306,70],{},[72,308,309,311],{},[75,310,77],{},[75,312,80],{},[50,314,84],{"id":83},[15,316,87],{},[72,318,319,321],{},[75,320,92],{},[75,322,95],{},[15,324,98],{},{"title":100,"searchDepth":101,"depth":101,"links":326},[327],{"id":47,"depth":101,"text":48,"children":328},[329,330,331,332],{"id":52,"depth":106,"text":53},{"id":59,"depth":106,"text":60},{"id":66,"depth":106,"text":67},{"id":83,"depth":106,"text":84},{},{"title":5,"description":110},[336],{"title":120,"path":121,"stem":122,"children":337,"page":113},[338,347,365],{"title":125,"path":126,"stem":127,"children":339,"page":113},[340],{"title":130,"path":131,"stem":132,"children":341,"page":113},[342,343,344,345,346],{"title":135,"path":136,"stem":137},{"title":139,"path":140,"stem":141},{"title":143,"path":144,"stem":145},{"title":147,"path":148,"stem":149},{"title":151,"path":152,"stem":153},{"title":155,"path":114,"stem":156,"children":348,"page":113},[349,359],{"title":130,"path":159,"stem":160,"children":350,"page":113},[351,352,353,354,355,356,357,358],{"title":135,"path":163,"stem":164},{"title":139,"path":166,"stem":167},{"title":169,"path":170,"stem":171},{"title":143,"path":173,"stem":174},{"title":147,"path":176,"stem":177},{"title":179,"path":180,"stem":181},{"title":183,"path":184,"stem":185},{"title":187,"path":188,"stem":189},{"title":191,"path":192,"stem":193,"children":360,"page":113},[361,362,363,364],{"title":196,"path":197,"stem":198},{"title":200,"path":201,"stem":202},{"title":204,"path":205,"stem":206},{"title":208,"path":209,"stem":210},{"title":212,"path":213,"stem":214,"children":366,"page":113},[367,377,381],{"title":130,"path":217,"stem":218,"children":368,"page":113},[369,370,371,372,373,374,375,376],{"title":135,"path":221,"stem":222},{"title":139,"path":224,"stem":225},{"title":169,"path":227,"stem":228},{"title":143,"path":230,"stem":231},{"title":147,"path":233,"stem":234},{"title":179,"path":236,"stem":237},{"title":183,"path":239,"stem":240},{"title":187,"path":242,"stem":243},{"title":245,"path":246,"stem":247,"children":378,"page":113},[379,380],{"title":250,"path":251,"stem":252},{"title":254,"path":255,"stem":256},{"title":191,"path":258,"stem":259,"children":382,"page":113},[383,384,385,386],{"title":196,"path":262,"stem":263},{"title":200,"path":265,"stem":266},{"title":204,"path":268,"stem":269},{"title":208,"path":271,"stem":272},1781172003544]