Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

standardise log level names

  • Loading branch information...
commit 3ea6f4c8b6bba1c99f54fed8284933fd20ac0b79 1 parent 5508397
@adrianoldham adrianoldham authored committed
View
6 site/cgi-bin/modules/BSE/TB/ArticleFile.pm
@@ -6,7 +6,7 @@ use vars qw/@ISA/;
@ISA = qw/Squirrel::Row/;
use Carp 'confess';
-our $VERSION = "1.007";
+our $VERSION = "1.008";
sub columns {
return qw/id articleId displayName filename sizeInBytes description
@@ -487,7 +487,7 @@ sub update {
BSE::TB::AuditLog->log
(
component => "admin:edit:saveimage",
- level => "warn",
+ level => "warning",
object => $self,
actor => $actor,
msg => "Error saving file to storage $new_storage: $msg",
@@ -506,7 +506,7 @@ sub update {
BSE::TB::AuditLog->log
(
component => "admin:edit:savefile",
- level => "warn",
+ level => "warning",
object => $self,
actor => $actor,
msg => "Error saving file to storage $new_storage: $msg",
View
6 site/cgi-bin/modules/BSE/TB/Image.pm
@@ -7,7 +7,7 @@ use vars qw/@ISA/;
@ISA = qw/Squirrel::Row BSE::ThumbCommon/;
use Carp qw(confess);
-our $VERSION = "1.005";
+our $VERSION = "1.006";
sub columns {
return qw/id articleId image alt width height url displayOrder name
@@ -247,7 +247,7 @@ sub update {
BSE::TB::AuditLog->log
(
component => "admin:edit:saveimage",
- level => "warn",
+ level => "warning",
object => $image,
actor => $actor,
msg => "Error saving image to storage $new_storage: $msg",
@@ -266,7 +266,7 @@ sub update {
BSE::TB::AuditLog->log
(
component => "admin:edit:saveimage",
- level => "warn",
+ level => "warning",
object => $image,
actor => $actor,
msg => "Error saving image to storage $new_storage: $msg",
View
4 site/cgi-bin/modules/BSE/Util/ValidateHTML.pm
@@ -1,7 +1,7 @@
package BSE::Util::ValidateHTML;
use strict;
-our $VERSION = "1.000";
+our $VERSION = "1.001";
sub validate {
my ($class, $cfg, $result) = @_;
@@ -20,7 +20,7 @@ sub validate {
BSE::TB::AuditLog->log
(
component => "template:validatehtml:load",
- level => "critical",
+ level => "crit",
actor => "S",
msg => "Could not load $real_class",
dump => $@,
Please sign in to comment.
Something went wrong with that request. Please try again.