mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 08:04:36 +02:00
add pid in meraki trace
This commit is contained in:
parent
5b24832116
commit
e88fd25f1d
@ -137,7 +137,7 @@ sub trace_api {
|
||||
my $time_end = Time::HiRes::time();
|
||||
my $date_end = POSIX::strftime('%Y%m%d %H:%M:%S', localtime($time_end));
|
||||
$date_end .= sprintf('.%03d', ($time_end - int($time_end)) * 1000);
|
||||
print FH "$date_start - $date_end - $self->{api_token} - $options{url} - $options{code}\n";
|
||||
print FH "$date_start - $date_end - $$ - $self->{api_token} - $options{url} - $options{code}\n";
|
||||
close FH;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user