mirror of
https://github.com/curl/curl.git
synced 2026-05-15 18:06:20 +03:00
Use '_stunnel.log' file name ending for stunneled server logs
This commit is contained in:
parent
99a5a5a3e9
commit
01682cca55
1 changed files with 1 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ sub server_pidfilename {
|
|||
sub server_logfilename {
|
||||
my ($logdir, $proto, $ipver, $idnum) = @_;
|
||||
my $trailer = '_server.log';
|
||||
$trailer = '_stunnel.log' if(lc($proto) =~ /^(ftp|imap|pop3|smtp)s$/);
|
||||
return "${logdir}/". servername_canon($proto, $ipver, $idnum) ."$trailer";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue