Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekVolsk authored Nov 19, 2020
1 parent 89c626e commit ac3daaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ _description in Russian [here](README.ru.md)_
- (upd 1.2.0) reading PHP error log file (provided that it is installed in php.ini and available for reading from the site)
- (upd 1.3.0) archiving a log file to an archive with a log file name + current datetime (assuming the php-zip extension is connected), the archive is saved to the site folder specified in the component settings, by default `/tmp`, where optionally deleting the original file after archiving is also configured

**Disadvantage**: the log file is read and displayed entirely, if it is large, it will take time, create a load on resources and traffic, so<br>
**Disadvantage #1**: the log file is read and displayed entirely, if it is large, it will take time, create a load on resources and traffic, so<br>
**Recommendation for extension developers**: with intensive logging provide avtorezina logs into parts, task types, period, either, but that logs your not weighed megatons

**Disadvantage #2**: the limitation on the length of the line in the log is 32000 characters, this is not small for simple text, but it is not enough when writing bulky JSON objects

![screen](https://image.prntscr.com/image/pbf3-h1UT8G8QvcGtZ3Hbw.png)

About how the native extension to use logging, see the Joomla documentation: https://docs.joomla.org/Using_JLog#Logging_to_a_Specific_Log_File

0 comments on commit ac3daaa

Please sign in to comment.