1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Use '_stunnel.log' file name ending for stunneled server logs

This commit is contained in:
Yang Tse 2009-12-31 15:26:16 +00:00
parent 99a5a5a3e9
commit 01682cca55

View File

@ -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";
} }