X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=remoteglot.pl;h=62bb4b1051a1cd94c31838ab3b80ca19b0723a77;hp=ed3071284ce5fc47cdc938b6f2ca70fa7393b4fc;hb=ce34dc5b190a1d4d0fa9f9a9b7d40909847d5db8;hpb=d0d27cd0325843ca3a7d7a337f9db8b4ad961b9f diff --git a/remoteglot.pl b/remoteglot.pl index ed30712..62bb4b1 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -60,7 +60,7 @@ while () { } uciprint("setoption name UCI_AnalyseMode value true"); -uciprint("setoption name Preserve Analysis value true"); +# uciprint("setoption name Preserve Analysis value true"); uciprint("setoption name NalimovPath value c:\\nalimov"); uciprint("setoption name NalimovUsage value Rarely"); uciprint("setoption name Hash value 1024"); @@ -163,7 +163,7 @@ sub handle_uci { chomp $line; $line =~ tr/\r//d; - print UCILOG "<= $line\n"; + print UCILOG localtime() . " <= $line\n"; if ($line =~ /^info/) { my (@infos) = split / /, $line; shift @infos; @@ -840,7 +840,7 @@ sub can_reach { sub uciprint { my $msg = shift; print UCIWRITE "$msg\n"; - print UCILOG "=> $msg\n"; + print UCILOG localtime() . " => $msg\n"; } sub short_score {