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

(-)a/C4/Log.pm (-4 / +4 lines)
Lines 126-135 Logs the path and name of the calling script plus the information privided by pa Link Here
126
126
127
#'
127
#'
128
sub cronlogaction {
128
sub cronlogaction {
129
    my ($infos)=@_;
129
    my $params = shift;
130
    my $info = $params->{info};
130
    my $loginfo = (caller(0))[1];
131
    my $loginfo = (caller(0))[1];
131
    $loginfo .= ' ' . $infos if $infos;
132
    $loginfo .= ' ' . $info if $info;
132
    logaction( 'CRONJOBS', 'Run', undef, $loginfo ) if C4::Context->preference('CronjobLog');
133
    logaction( 'CRONJOBS', 'Run', $$, $loginfo ) if C4::Context->preference('CronjobLog');
133
}
134
}
134
135
135
1;
136
1;
136
- 

Return to bug 31203