mirror of
git://git.proxmox.com/git/pve-http-server.git
synced 2025-08-01 12:21:56 +03:00
avoid locale specific time stamps
This commit is contained in:
@ -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";
|
||||
|
||||
|
Reference in New Issue
Block a user