Changeset 406
- Timestamp:
- Aug 30, 2012 4:29:53 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/css/utilities.inc.css
r362 r406 46 46 opacity:.25; 47 47 } 48 .sc-note:hover { cursor: help; } 48 49 49 50 /* .sc-pkg class wraps enclosing block element around inner floated elements */ -
trunk/lib/App.inc.php
r396 r406 149 149 'log_to_sms_address' => null, 150 150 151 // Should we avoid logging repeated logMsg() events? You might want to set this false if you need to see more accurate logging, particularly for long-running scripts. 152 'log_ignore_repeated_events' => true, 153 151 154 // Temporary files directory. 152 155 'tmp_dir' => '/tmp', … … 429 432 return false; 430 433 } 434 435 // Avoid duplicate full-stops.. 436 $message = trim(preg_replace('/\.{2}$/', '.', $message)); 431 437 432 438 // Save message in session under unique key to avoid duplicate messages. … … 583 589 // Store this event under a unique key, counting each time it occurs so that it only gets reported a limited number of times. 584 590 $msg_id = md5($message . $priority . $file . $line); 585 if ( isset($previous_events[$msg_id])) {591 if ($this->getParam('log_ignore_repeated_events') && isset($previous_events[$msg_id])) { 586 592 $previous_events[$msg_id]++; 587 593 if ($previous_events[$msg_id] == 2) {
Note: See TracChangeset
for help on using the changeset viewer.