Skip to content

Commit 9e123d7

Browse files
authored
Update error-logging.md
Updating
1 parent 543934c commit 9e123d7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/troubleshooting/error-logging.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ExpressionEngine User Guide (https://github.com/ExpressionEngine/ExpressionEngine-User-Guide)
44
55
@link https://expressionengine.com/
6-
@copyright Copyright (c) 2003-2020, Packet Tide, LLC (https://packettide.com)
6+
@copyright Copyright (c) 2003-2023, Packet Tide, LLC (https://packettide.com)
77
@license https://expressionengine.com/license Licensed under Apache License, Version 2.0
88
-->
99

@@ -13,9 +13,9 @@
1313

1414
### Error Logging
1515

16-
There could be situations when there is PHP error that is invisible to the user, but is preventing the code logic to be executed properly.
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.
1717

18-
To help finding those out, error logging could be enabled in ExpressionEngine.
18+
To find these errors, it's recommended to enabled logging in ExpressionEngine.
1919

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

@@ -29,5 +29,4 @@ Example:
2929
$config['log_date_format'] = 'Y-m-d H:i:s';
3030
$config['log_threshold'] = '1';
3131
```
32-
33-
Now, when a code issue is encountered within ExpressionEngine, error or warning message is added to the file for corresponding date inside `system/user/logs` folder.
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.

0 commit comments

Comments
 (0)