You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@
24
24
25
25
[OPcodes's](https://www.opcodes.io/)**Log Viewer** is a perfect companion for your [Laravel](https://laravel.com/) app.
26
26
27
-
You will no longer need to read the raw Laravel log files trying to find what you're looking for.
27
+
You will no longer need to read the raw Laravel log files (and other types of logs) trying to find what you're looking for.
28
28
29
29
Log Viewer helps you quickly and clearly see individual log entries, to **search**, **filter**, and make sense of your Laravel logs **fast**. It is free and easy to install.
30
30
@@ -33,6 +33,7 @@ Log Viewer helps you quickly and clearly see individual log entries, to **search
33
33
### Features
34
34
35
35
- 📂 **View all the Laravel logs** in your `storage/logs` directory,
36
+
- 📂 **View other types of logs** - Horizon, Apache, Nginx, Redis, Supervisor, Postgres, and more,
36
37
- 🔍 **Search** the logs,
37
38
- 🎚 **Filter** by log level (error, info, debug, etc.),
38
39
- 🔗 **Sharable links** to individual log entries,
@@ -43,6 +44,7 @@ Log Viewer helps you quickly and clearly see individual log entries, to **search
43
44
- 💾 **Download & delete** log files from the UI,
44
45
- ☑️ **Horizon** log support (up to Horizon v9.20),
45
46
- ☎️ **API access** for folders, files & log entries,
47
+
- 💌 **Mail previews** for e-mails sent to the logs,
46
48
- and more...
47
49
48
50
### Documentation
@@ -88,21 +90,19 @@ Here are some common problems and solutions.
88
90
89
91
### Problem: Logs not loading
90
92
91
-
At the moment, Log Viewer is only able to process [Laravel logs](https://laravel.com/docs/9.x/logging) that look something like this:
93
+
Please see [this page](https://log-viewer.opcodes.io/docs/3.x/log-types/default) for support log formats. If your log has a custom format, or is not supported by Log Viewer out of the box, you will need to [define your own custom log parser](https://log-viewer.opcodes.io/docs/3.x/log-types/custom).
92
94
93
-
```
94
-
[2022-08-25 11:16:17] local.DEBUG: Example log entry for the level debug {"one":1,"two":"two","three":[1,2,3]}
95
-
Multiple lines are allowed
96
-
and will be picked up as contents
97
-
of the same log entry.
98
-
```
95
+
If your logs are still not showing up, make sure the web process, which Log Viewer runs on, has permission to read these logs.
99
96
100
-
If your logs are structured differently, then you'll have to wait until we ship support for custom log formats. Otherwise, please adjust your log format to Laravel's default.
97
+
For example, if you want to read the Apache HTTP access logs in `/var/log/httpd`, you will need to make sure that your web process (apache/httpd) has permission to read these files. On unix systems, you can do this with [file ACLs](https://www.thegeekdiary.com/unix-linux-access-control-lists-acls-basics/#:~:text=Every%20file%20on%20any%20UNIX,their%20permission%20to%20the%20file).
101
98
102
99
## Screenshots
103
100
104
101
Read the **[release blog post](https://arunas.dev/log-viewer-for-laravel/)** for screenshots and more information about Log Viewer's features.
105
-
The **[release of v2](https://arunas.dev/log-viewer-v2/)** also includes a few new features.
102
+
103
+
The **[release of v2](https://arunas.dev/log-viewer-v2/)** includes a few new features in v2.
104
+
105
+
The **[release of v3](https://arunas.dev/log-viewer-v3/)** includes a few new features in v3.
0 commit comments