diff --git a/lib/SyTest/Synapse.pm b/lib/SyTest/Synapse.pm index 022669e3a..ab037838b 100644 --- a/lib/SyTest/Synapse.pm +++ b/lib/SyTest/Synapse.pm @@ -115,7 +115,8 @@ sub start } if( defined $db_type ) { - $self->${\"clear_db_$db_type"}( %db_args ); + my $clearmeth = "clear_db_$db_type"; + $self->${\$clearmeth}( %db_args ); } # Clean up the media_store directory each time, or else it fills up with @@ -166,6 +167,7 @@ sub start my $config_path = $self->write_yaml_file( config => { "server_name" => "localhost:$port", "log_file" => "$log", + "log_config" => $self->{hs_dir}."/log.config", "tls_certificate_path" => $cert_file, "tls_private_key_path" => $key_file, "tls_dh_params_path" => "$cwd/keys/tls.dh",