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

(-)a/C4/Log.pm (-3 / +3 lines)
Lines 93-100 Logs the path and name of the calling script plus the information privided by pa Link Here
93
#'
93
#'
94
sub cronlogaction {
94
sub cronlogaction {
95
    my ($infos)=@_;
95
    my ($infos)=@_;
96
    my $loginfo = (caller(0))[1] . ' ' . $infos;
96
    my $loginfo = (caller(0))[1];
97
    logaction( 'CRONJOBS', 'Run', 0, $loginfo ) if C4::Context->preference('CronjobLog');
97
    $loginfo .= ' ' . $infos if $infos;
98
    logaction( 'CRONJOBS', 'Run', undef, $loginfo ) if C4::Context->preference('CronjobLog');
98
}
99
}
99
100
100
101
101
- 

Return to bug 13889