mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-06-30 16:56:37 +00:00
avoid locale specific time stamps
This commit is contained in:
parent
24e1f1d0d3
commit
2fd728c93b
@ -80,7 +80,7 @@ sub log_request {
|
||||
my $content_length = defined($loginfo->{content_length}) ? $loginfo->{content_length} : '-';
|
||||
my $code = $loginfo->{code} || 500;
|
||||
my $requestline = $loginfo->{requestline} || '-';
|
||||
my $timestr = strftime("%d/%b/%Y:%H:%M:%S %z", localtime());
|
||||
my $timestr = strftime("%d/%m/%Y:%H:%M:%S %z", localtime());
|
||||
|
||||
my $msg = "$peerip - $userid [$timestr] \"$requestline\" $code $content_length\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user