Skip to content

Commit 376a8ac

Browse files
Update error-logging.md
1 parent 5f92909 commit 376a8ac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/troubleshooting/error-logging.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313

1414
### Error Logging
1515

16-
When debugging is disabled, there can be situations where PHP errors can cause a white screen, or there can be errors that are completley invisable to the user, but result in incorrect execution of a given page.
16+
When debugging is disabled, there can be situations where PHP errors can cause a white screen, or there can be errors that are completely invisible to the user but result in incorrect execution of a given page.
1717

18-
To find these errors, it's recommended to enabled logging in ExpressionEngine.
18+
To find these errors, it is recommended to enable logging in ExpressionEngine.
1919

2020
To enable error logging, you need to do the following:
2121

22-
1. Create `logs` folder inside your `system/user` folder and make sure it's writable
23-
2. Open `config.php` file and add following config overrides
22+
1. Create a `logs` folder inside your `system/user` folder and make sure it's writable
23+
2. Open the `config.php` file and add the following config overrides:
2424
- [`log_threshold`](general/system-configuration-overrides.md#log_threshold) (required)
2525
- [`log_date_format`](general/system-configuration-overrides.md#log_date_format) (optional)
2626

@@ -29,4 +29,4 @@ Example:
2929
$config['log_date_format'] = 'Y-m-d H:i:s';
3030
$config['log_threshold'] = '1';
3131
```
32-
After adding the two config file items above, PHP errors, warnings etc. will be added logged to a file with the corresponding date inside `system/user/logs` folder.
32+
After adding the two config file items above, PHP errors, warnings, etc. will be logged to a file with the corresponding date inside the `system/user/logs` folder.

0 commit comments

Comments
 (0)