Commit 3ecde033 authored by Web Group's avatar Web Group
Browse files

don't have to set log_basepath

parent 4763e4d2
......@@ -161,9 +161,11 @@ sub parse_common_options {
# override configured parameter with commandline options
map { $self->param($_, $h{$_}) } keys %h;
# if logpath & logfile are not set, set them here to /ensemblweb/vega_dev/shared/logs/conversion/DBNAME/SCRIPNAME_NN.log
# if logpath & logfile are not set, set them here to /ensemblweb/shared/logs/conversion/DBNAME/SCRIPNAME_NN.log
if (defined($self->param('log_base_path'))) {
if (! defined($self->param('log_base_path'))) {
$self->param('log_base_path','/ensemblweb/shared/logs/conversion/');
}
my $dbname = $self->param('dbname');
$dbname =~ s/^vega_//;
if (not (defined($self->param('logpath')))){
......@@ -178,7 +180,6 @@ sub parse_common_options {
}
$self->param('logfile', $log."_".sprintf("%03d", $counter).".log");
}
}
return(1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment