[TailSettings]
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The group [TailSettings] of settings/logviewer.ini.
File
settings/logviewer.ini; override it in settings/override/logviewer.ini.append.php, in a siteaccess or in an extension.
Settings
| Setting | Default | Description |
|---|---|---|
| InitialBytes | 65536 | How much of a file the page shows when it is opened: the last InitialBytes bytes, from the first whole line. |
| MaxBytesPerPoll | 262144 | The most bytes one poll reads (a file that grew more than that is caught up over the next polls). |
| PollInterval | 1000 | The poll interval of the page in milliseconds, while lines arrive. |
| MaxPollInterval | 15000 | While nothing arrives the interval doubles after each empty poll, up to MaxPollInterval milliseconds. |
| MaxLinesKept | 5000 | The most lines the page keeps (older lines are dropped from the page, never from the file). |
| WrapLines | enabled | Whether long lines are wrapped for a viewer who has not chosen yet. The page's "Wrap lines" switch stores each viewer's choice as the user preference admin_logviewer_wrap (1 or 0), kept for every log and every visit. enabled | disabled |
| ChunkCacheTTL | 10 | The server keeps the last chunk read of each file for this many seconds, so several viewers of the same file, and a poll whose file has not changed, are answered without opening it. 0 switches the cache off. |
| ChunkCacheMaxBytes | 262144 | The most bytes of a chunk the cache keeps. |
See also
Generated example: logviewer.ini [TailSettings]
Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/logviewer.ini.
Contributors
- Graham Brookins Updated
Comments
Add a comment