diff options
author | Patrick Simianer <p@simianer.de> | 2017-11-03 15:30:55 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2017-11-03 15:30:55 +0100 |
commit | 3c83ab58adab213edd148286b355d422fe30d897 (patch) | |
tree | a8d6983f8d9b2cf83c058e7c96526bd83b698624 /server-neural.rb | |
parent | 93bdac797ed3cf04a427e276823f9896dcf19a2d (diff) |
logging
Diffstat (limited to 'server-neural.rb')
-rwxr-xr-x | server-neural.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server-neural.rb b/server-neural.rb index e8915b4..6d6c9d9 100755 --- a/server-neural.rb +++ b/server-neural.rb @@ -297,6 +297,7 @@ def process_next reply obj["source"] = source obj["progress"] = $db['progress'] obj["raw_source"] = raw_source + logmsg :server, "#{obj["transl_bpe"]}" $db["mt_raw_bpe"] << obj["transl_bpe"] $db["mt_raw"] << obj["transl"] $db["mt"] << obj["transl_detok"] |