Changeset 3155779
- Timestamp:
- 09/21/2024 06:34:14 PM (18 months ago)
- Location:
- jeepers-peepers/trunk
- Files:
-
- 4 edited
-
index.php (modified) (3 diffs)
-
lib/blobfolio/wp/audit/events.php (modified) (1 diff)
-
lib/blobfolio/wp/audit/log.php (modified) (3 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jeepers-peepers/trunk/index.php
r2063902 r3155779 4 4 * 5 5 * @package jeepers-peepers 6 * @version 0.5. 36 * @version 0.5.4 7 7 * 8 8 * @wordpress-plugin … … 12 12 * Author: Blobfolio, LLC 13 13 * Author URI: https://blobfolio.com/ 14 * Version: 0.5. 314 * Version: 0.5.4 15 15 * Text Domain: jeepers-peepers 16 16 * Domain Path: /languages/ … … 141 141 } 142 142 143 // Use UTC times for logging. 144 if (! defined('BLOBAUDIT_LOG_UTC')) { 145 define( 146 'BLOBAUDIT_LOG_UTC', 147 true 148 ); 149 } 150 143 151 // The visitor IP. 144 152 if ( -
jeepers-peepers/trunk/lib/blobfolio/wp/audit/events.php
r2063902 r3155779 5 5 * This registers event hooks and watches for action. 6 6 * 7 * @package blob-audit7 * @package jeepers-peepers 8 8 * @author Blobfolio, LLC <hello@blobfolio.com> 9 9 */ -
jeepers-peepers/trunk/lib/blobfolio/wp/audit/log.php
r2063902 r3155779 5 5 * This records log messages. 6 6 * 7 * @package blob-audit7 * @package jeepers-peepers 8 8 * @author Blobfolio, LLC <hello@blobfolio.com> 9 9 */ … … 37 37 */ 38 38 public static function save($severity=0, $message='', $internal=false) { 39 40 39 if (! \defined('BLOBAUDIT_LOG_PATH')) { 41 40 return false; … … 97 96 \sprintf( 98 97 \__('WordPressAudit', 'jeepers-peepers') . " %s [%s] %s %s \"%s\" \"%s\"\n", 99 \ date('Y-m-d H:i:s'),98 \BLOBAUDIT_LOG_UTC ? \date('Y-m-d H:i:s') : \current_time('Y-m-d H:i:s'), 100 99 $severity_name, 101 100 \BLOBAUDIT_SITE_URL, -
jeepers-peepers/trunk/readme.txt
r3119486 r3155779 2 2 Contributors: blobfolio 3 3 Donate link: https://blobfolio.com/donate.html 4 Tags: system log, syslog, event log, audit trail, security , forensics, monitor4 Tags: system log, syslog, event log, audit trail, security 5 5 Requires at least: 4.7 6 6 Tested up to: 6.6 … … 85 85 * (*string*) **BLOBAUDIT_SITE_URL** Your site's domain, for logging purposes. By default, this will be your site's domain name, lowercased, and without a leading `www.` subdomain. 86 86 * (*string*) **BLOBAUDIT_LOG_PATH** The absolute path to the log file. Default: `/var/log/wordpress/{YOUR_SITE_DOMAIN}.log` 87 * (*bool*) **BLOBAUDIT_LOG_UTC** Record datetimes in UTC rather than the site's timezone. Default: `true` 87 88 88 89 When using a custom log location, please choose one that is outside the web root. You don't want just anybody looking at it. :) … … 127 128 == Changelog == 128 129 130 = 0.5.4 = 131 * [New] `BLOBAUDIT_LOG_UTC` constant for toggling between UTC/site-time for event dates. 132 129 133 = 0.5.3 = 130 134 * [New] Log network requests. … … 139 143 == Upgrade Notice == 140 144 145 = 0.5.4 = 146 This release adds a new `BLOBAUDIT_LOG_UTC` configuration constant allowing sites to record events in the site's local timezone rather than UTC. 147 141 148 = 0.5.3 = 142 149 This release adds network request logging and minor code optimizations.
Note: See TracChangeset
for help on using the changeset viewer.