mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
Use '_stunnel.log' file name ending for stunneled server logs
This commit is contained in:
parent
99a5a5a3e9
commit
01682cca55
@ -122,6 +122,7 @@ sub server_pidfilename {
|
|||||||
sub server_logfilename {
|
sub server_logfilename {
|
||||||
my ($logdir, $proto, $ipver, $idnum) = @_;
|
my ($logdir, $proto, $ipver, $idnum) = @_;
|
||||||
my $trailer = '_server.log';
|
my $trailer = '_server.log';
|
||||||
|
$trailer = '_stunnel.log' if(lc($proto) =~ /^(ftp|imap|pop3|smtp)s$/);
|
||||||
return "${logdir}/". servername_canon($proto, $ipver, $idnum) ."$trailer";
|
return "${logdir}/". servername_canon($proto, $ipver, $idnum) ."$trailer";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user