projects
/
Pman.Base
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #7809 - sort out logging
[Pman.Base]
/
Pman.php
diff --git
a/Pman.php
b/Pman.php
index
0fa0a67
..
6cbb587
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-516,7
+516,9
@@
class Pman extends HTML_FlexyFramework_Page
if(!empty($errors)){
DB_DataObject::factory('Events')->writeEventLogExtra($errors);
}
if(!empty($errors)){
DB_DataObject::factory('Events')->writeEventLogExtra($errors);
}
- if (!preg_match('/^(ERROR|NOTICE)/', $type )) {
+ // various codes that are acceptable.
+ //
+ if (!preg_match('/^(ERROR|NOTICE|LOG)/', $type )) {
$type = 'ERROR-' . $type;
}
$type = 'ERROR-' . $type;
}