-
Notifications
You must be signed in to change notification settings - Fork 719
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make log_event() calls print to stdout when running from CLI
This simple modification to the logging_api allows command-line scripts such as send_emails.php to easily provide detailed information about their operations, provided that the appropriate log_level is set in config_inc.php. This output can then be redirected to log files, etc. Fixes #15382
- Loading branch information
Showing
1 changed file
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters