diff options
author | Guillermo Ramos | 2019-06-25 14:45:23 +0200 |
---|---|---|
committer | Guillermo Ramos | 2019-06-25 14:50:41 +0200 |
commit | 5cd9d90a7fa86dc42b38d900b3ab4482f1f8ad59 (patch) | |
tree | 7ecc59d36cc43d669683ccf4900552eb96a1b2ae /tgserver | |
parent | d6f2506d29d78397944085e402421d01436d2a0a (diff) | |
download | tgutils-5cd9d90a7fa86dc42b38d900b3ab4482f1f8ad59.tar.gz |
Improve log messages
Diffstat (limited to 'tgserver')
-rwxr-xr-x | tgserver | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ while (1) { $logger->debug(sprintf "Update %s", Dumper($update)); my $text = $update->{'message'}{'text'}; my $chat_id = $update->{'message'}{'chat'}{'id'}; - $logger->info("Received update from chat $chat_id\n"); + $logger->info("Received from chat $chat_id: '$text'\n"); use IPC::Open2 qw<open2>; my $pid = open2(my $progr, my $progw, "@ARGV"); |