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

undoing testing changes #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions log_monitor.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

use Monolog\Handler\StreamHandler;
use Monolog\Logger;

Expand Down
3 changes: 0 additions & 3 deletions sample.config.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
; Copy this file and alter it for your own needs. Save the copy as config.ini
;

[mailer]
host = 'smtp1.example.com;smtp2.example.com'; // Specify main and backup SMTP servers
Expand All @@ -24,5 +23,3 @@ to[] = '[email protected]'; // Email To these addresses.
age = 300; // Age in seconds. Monitored files *NEWER* than this age will be emailed.
logs[] = 'path/to/file'; // Each line can/should contain an absolute or relative path to the log file you wish to monitor.
globList[] = 'path/to/files/*error*.log'; // Each line can/should contain a glob() pattern for a path to log files you wish to monitor.

; adding a line