Plug-in log mgkamda over UDP.
I must say, the version of the test, so anything is possible, tested only on the IPT.
For help in working on the plug, thanks vlamo.
Description of work:
In the / usr / bin / mg_cfg line logging should be like this:
L: {01} 127.0.0.1 28 007 / tmp / mgcamd.log # 192.168.2.21 28 007
That is,
A. in fig.skobah should be noted that udp logging is enabled
Two. IP-address! ALWAYS! - 127.0.0.1
Three. Any port, but not zero, of course.
4. After the sign of the lattice in a string is an IP-address and port to redirect the log.
If you would like:
L: {01} 127.0.0.1 28 007 / tmp / mgcamd.log
That log will be, but there will be no redirection.
Redirection will go only when running the plugin.
After installing the plugin, there will be two folders:
/ usr / keys / internal (to put mg_cfg 127.0.0.1)
/ usr / keys / remote (to put mg_cfg ip com)
And you can change the configuration via the setup menu plug-in (user option did not come up with more clever).
AUTHOR Дмитрий73
interesting and useful program......
I must say, the version of the test, so anything is possible, tested only on the IPT.
For help in working on the plug, thanks vlamo.
Description of work:
In the / usr / bin / mg_cfg line logging should be like this:
L: {01} 127.0.0.1 28 007 / tmp / mgcamd.log # 192.168.2.21 28 007
That is,
A. in fig.skobah should be noted that udp logging is enabled
Two. IP-address! ALWAYS! - 127.0.0.1
Three. Any port, but not zero, of course.
4. After the sign of the lattice in a string is an IP-address and port to redirect the log.
If you would like:
L: {01} 127.0.0.1 28 007 / tmp / mgcamd.log
That log will be, but there will be no redirection.
Redirection will go only when running the plugin.
After installing the plugin, there will be two folders:
/ usr / keys / internal (to put mg_cfg 127.0.0.1)
/ usr / keys / remote (to put mg_cfg ip com)
And you can change the configuration via the setup menu plug-in (user option did not come up with more clever).
AUTHOR Дмитрий73
interesting and useful program......