View | Details | Raw Unified | Return to bug 8190
Collapse All | Expand All

(-)a/Koha/Utils/Logger.pm (-1 / +8 lines)
Lines 26-32 sub _write { Link Here
26
    my ( $self, $msg, $log_level, $dump, $cb ) = @_;
26
    my ( $self, $msg, $log_level, $dump, $cb ) = @_;
27
27
28
    my $LEVEL_STR = {
28
    my $LEVEL_STR = {
29
        1 => 'UNUS  ',
29
        0 => 'UNUS  ',
30
        1 => 'ALERT ',
30
        2 => 'CRIT  ',
31
        2 => 'CRIT  ',
31
        3 => 'ERROR ',
32
        3 => 'ERROR ',
32
        4 => 'WARN  ',
33
        4 => 'WARN  ',
Lines 56-61 sub _write { Link Here
56
sub unusable {
57
sub unusable {
57
    my ( $self, $msg, $dump ) = @_;
58
    my ( $self, $msg, $dump ) = @_;
58
    my $cb = $self->_called_by();
59
    my $cb = $self->_called_by();
60
    $self->_write( $msg, 0, $dump, $cb );
61
}
62
63
sub alert {
64
    my ( $self, $msg, $dump ) = @_;
65
    my $cb = $self->_called_by();
59
    $self->_write( $msg, 1, $dump, $cb );
66
    $self->_write( $msg, 1, $dump, $cb );
60
}
67
}
61
68
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (-2 / +2 lines)
Lines 118-124 Administration: Link Here
118
            - Set the level
118
            - Set the level
119
            - pref: LogLevel
119
            - pref: LogLevel
120
              choices:
120
              choices:
121
                1: 1- Unusable
121
                0: 0- Unusable
122
                1: 1- Alert
122
                2: 2- Critical
123
                2: 2- Critical
123
                3: 3- Error
124
                3: 3- Error
124
                4: 4- Warning
125
                4: 4- Warning
125
- 

Return to bug 8190