Commit bdb6cedf authored by Maurice Hendrix's avatar Maurice Hendrix
Browse files

-q commit -m "added option nolog\n-nolog 1 will dump the output to stdout

parent 44c16a1f
......@@ -118,6 +118,7 @@ sub parse_common_options {
'pass|dbpass|db_pass=s',
'conffile|conf=s',
'logfile|log=s',
'nolog|nolog=s',
'logpath=s',
'logappend|log_append=s',
'verbose|v=s',
......@@ -162,7 +163,7 @@ sub parse_common_options {
if (not (defined($self->param('logpath')))){
$self->param('logpath', "/ensemblweb/vega_dev/shared/logs/conversion/".$self->param('dbname')."/" );
}
if (not (defined($self->param('logfile')))){
if ( (not defined $self->param('logfile') ) && (not defined $self->param('nolog') ) ){
my $log = $Script;
$log =~ s/.pl//g;
my $counter;
......@@ -248,6 +249,7 @@ sub get_common_params {
port
user
pass
nolog
logpath
logfile
logappend
......
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