Install the complete package with local command reference and every published mode.
install loglogUse
Operational logs grow continuously and often contain far more data than one diagnosis needs.
log [<file>|<dir>] [-h] [-n <lines>] [-g <text>] [-i] [-l] [-r]logshow the newest detected
log <file>read a selected
log <dir>find a
log -llist detected
log <dir> -llist
-hread from the beginning
-n <lines>show 1–50000 physical lines
-g <text>filter lines containing literal text
-iignore case when used with -g
-rshow original lines without grouping
Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.
Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.
Base and Minimum are two packages of the same current module release, not separate command versions.
Install the complete package with local command reference and every published mode.
install logInstall the reduced package. Local reference is omitted;
install log -mInstall exactly this published version.
install log -v 1.3.1Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade logRemove the extension block while leaving the core and unrelated modules intact.
install log -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
log sandbox/logs/review.logTraining example — PHP environment, server and repository responses are simulated
File: sandbox/logs/review.log
[20-Oct-2026 08:00:00 UTC]
PHP Notice: request started in /sandbox/src/start.php on line 12
[20-Oct-2026 08:00:01 UTC]
PHP Warning: missing configuration in /sandbox/src/config.php on line 18
Stack trace:
#0 /sandbox/src/index.php(20): loadSettings()
[20-Oct-2026 08:00:02 UTC]
PHP Debug: using fallback configuration
[20-Oct-2026 08:00:03 UTC]
PHP Fatal error: unable to initialize test connection in /sandbox/src/db.php on line 41
Stack trace:
#0 /sandbox/src/index.php(31): connect()log sandbox/logs/review.log -hTraining example — PHP environment, server and repository responses are simulated
File: sandbox/logs/review.log
[20-Oct-2026 08:00:00 UTC]
PHP Notice: request started in /sandbox/src/start.php on line 12
[20-Oct-2026 08:00:01 UTC]
PHP Warning: missing configuration in /sandbox/src/config.php on line 18
Stack trace:
#0 /sandbox/src/index.php(20): loadSettings()
[20-Oct-2026 08:00:02 UTC]
PHP Debug: using fallback configuration
[20-Oct-2026 08:00:03 UTC]
PHP Fatal error: unable to initialize test connection in /sandbox/src/db.php on line 41
Stack trace:
#0 /sandbox/src/index.php(31): connect()log sandbox/logs/review.log -tTraining example — PHP environment, server and repository responses are simulated
File: sandbox/logs/review.log
[20-Oct-2026 08:00:00 UTC]
PHP Notice: request started in /sandbox/src/start.php on line 12
[20-Oct-2026 08:00:01 UTC]
PHP Warning: missing configuration in /sandbox/src/config.php on line 18
Stack trace:
#0 /sandbox/src/index.php(20): loadSettings()
[20-Oct-2026 08:00:02 UTC]
PHP Debug: using fallback configuration
[20-Oct-2026 08:00:03 UTC]
PHP Fatal error: unable to initialize test connection in /sandbox/src/db.php on line 41
Stack trace:
#0 /sandbox/src/index.php(31): connect()log sandbox/logs/review.log -n 2Training example — PHP environment, server and repository responses are simulated
File: sandbox/logs/review.log
Stack trace:
#0 /sandbox/src/index.php(31): connect()log sandbox/logs/review.log -h -n 2Training example — PHP environment, server and repository responses are simulated
File: sandbox/logs/review.log
[20-Oct-2026 08:00:00 UTC]
PHP Notice: request started in /sandbox/src/start.php on line 12
[20-Oct-2026 08:00:01 UTC]
PHP Warning: missing configuration in /sandbox/src/config.php on line 18log sandbox/logs/review.log -g WarningTraining example — PHP environment, server and repository responses are simulated
File: sandbox/logs/review.log
Filter: Warning
[20-Oct-2026 08:00:01 UTC]
PHP Warning: missing configuration in /sandbox/src/config.php on line 18log sandbox/logs/review.log -g warning -iTraining example — PHP environment, server and repository responses are simulated
File: sandbox/logs/review.log
Filter: warning
[20-Oct-2026 08:00:01 UTC]
PHP Warning: missing configuration in /sandbox/src/config.php on line 18log sandbox/logs/review.log -g DEBUGTraining example — PHP environment, server and repository responses are simulated
File: sandbox/logs/review.log
Filter: DEBUG
[no matching lines]log sandbox/logs/review.log -g error -i -rTraining example — PHP environment, server and repository responses are simulated
File: sandbox/logs/review.log
Filter: error
[20-Oct-2026 08:00:03 UTC] PHP Fatal error: unable to initialize test connection in /sandbox/src/db.php on line 41log sandbox/logs/review.log -rTraining example — PHP environment, server and repository responses are simulated
File: sandbox/logs/review.log
[20-Oct-2026 08:00:00 UTC] PHP Notice: request started in /sandbox/src/start.php on line 12
[20-Oct-2026 08:00:01 UTC] PHP Warning: missing configuration in /sandbox/src/config.php on line 18
Stack trace:
#0 /sandbox/src/index.php(20): loadSettings()
[20-Oct-2026 08:00:02 UTC] PHP Debug: using fallback configuration
[20-Oct-2026 08:00:03 UTC] PHP Fatal error: unable to initialize test connection in /sandbox/src/db.php on line 41
Stack trace:
#0 /sandbox/src/index.php(31): connect()log -lTraining example — PHP environment, server and repository responses are simulated
2026-11-01 12:00:00 96 B sandbox/logs/app.log
2026-11-01 12:00:00 219 B sandbox/logs/errors.log
2026-10-20 08:00:00 487 B sandbox/logs/review.loglog sandbox -lTraining example — PHP environment, server and repository responses are simulated
2026-11-01 12:00:00 96 B sandbox/logs/app.log
2026-11-01 12:00:00 219 B sandbox/logs/errors.log
2026-10-20 08:00:00 487 B sandbox/logs/review.loglog sandboxTraining example — PHP environment, server and repository responses are simulated
File: sandbox/logs/app.log
2026-01-01T00:00:00Z INFO sandbox initialized
2026-01-01T00:00:01Z DEBUG sample event completedlog sandbox/logs/review.log -g no-such-eventTraining example — PHP environment, server and repository responses are simulated
File: sandbox/logs/review.log
Filter: no-such-event
[no matching lines]log sandbox/logs/missing.logTraining example — PHP environment, server and repository responses are simulated
Log file not foundlog sandbox/logs/review.log -n 0Training example — PHP environment, server and repository responses are simulated
Line count must be between 1 and 50000log sandbox/logs/review.log -n 50001Training example — PHP environment, server and repository responses are simulated
Line count must be between 1 and 50000log sandbox/logs/review.log -n abcTraining example — PHP environment, server and repository responses are simulated
Invalid line countlog sandbox/logs/review.log -iTraining example — PHP environment, server and repository responses are simulated
Option -i requires -g <text>log sandbox/logs/review.log -gTraining example — PHP environment, server and repository responses are simulated
Search text is requiredlog sandbox/logs/review.log -zTraining example — PHP environment, server and repository responses are simulated
Unknown option: -zlog sandbox/logs/review.log -lTraining example — PHP environment, server and repository responses are simulated
List mode accepts a directory, not a filelog sandbox -l -g errorTraining example — PHP environment, server and repository responses are simulated
List mode does not accept a search filterlog sandbox/logs/review.log sandbox/logs/review.logTraining example — PHP environment, server and repository responses are simulated
Too many pathssandbox/logs/app.logThe example uses a file or directory from the protected /sandbox/ documentation workspace.
2026-01-01T00:00:00Z INFO sandbox initialized
2026-01-01T00:00:01Z DEBUG sample event completed
Current stable release of