Commit 8abc23cb authored by Pavel Vainerman's avatar Pavel Vainerman

(Modbus): добавил пару новых отладочных логов

parent e2b86afd
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
Name: libuniset2 Name: libuniset2
Version: 2.6 Version: 2.6
Release: alt34 Release: alt35
Summary: UniSet - library for building distributed industrial control systems Summary: UniSet - library for building distributed industrial control systems
License: LGPL License: LGPL
...@@ -508,6 +508,9 @@ rm -f %buildroot%_libdir/*.la ...@@ -508,6 +508,9 @@ rm -f %buildroot%_libdir/*.la
# history of current unpublished changes # history of current unpublished changes
%changelog %changelog
* Tue Jun 27 2017 Pavel Vainerman <pv@altlinux.ru> 2.6-alt35
- (Modbus): add new log
* Sun Jun 25 2017 Pavel Vainerman <pv@altlinux.ru> 2.6-alt34 * Sun Jun 25 2017 Pavel Vainerman <pv@altlinux.ru> 2.6-alt34
- (DelayTimer): add new functions (isWaiting[On|Off]) - (DelayTimer): add new functions (isWaiting[On|Off])
......
...@@ -3295,6 +3295,7 @@ namespace uniset ...@@ -3295,6 +3295,7 @@ namespace uniset
inf << i->info << endl; inf << i->info << endl;
inf << vmon.pretty_str() << endl; inf << vmon.pretty_str() << endl;
inf << "activated: " << activated << endl;
inf << "LogServer: " << logserv_host << ":" << logserv_port << endl; inf << "LogServer: " << logserv_host << ":" << logserv_port << endl;
inf << "Parameters: reopenTimeout=" << ptReopen.getInterval() inf << "Parameters: reopenTimeout=" << ptReopen.getInterval()
<< endl; << endl;
......
...@@ -501,6 +501,10 @@ void MBTCPMultiMaster::check_thread() ...@@ -501,6 +501,10 @@ void MBTCPMultiMaster::check_thread()
<< " timeout=" << it->channel_timeout << " timeout=" << it->channel_timeout
<< " use=" << it->use << " use=" << it->use
<< " ignore=" << it->ignore << " ignore=" << it->ignore
<< " respond_id=" << it->respond_id
<< " respond_force=" << it->respond_force
<< " respond=" << it->respond
<< " activated=" << checkProcActive()
<< " ]" << " ]"
<< endl; << endl;
......
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