From: Jamie C. <jca...@we...> - 2004-02-11 22:16:43
|
On Thu, 2004-02-12 at 02:25, John Horne wrote: > Hello, > > As far as I can tell, using webmin 1.130, if I use 'remote_eval' in a > module to execute something on a remote server nothing gets logged by > webmin on the remote server. Would it be possible to get the command > logged? Access to the remote server is by fastrpc with a username/pwd > supplied. I'm not totally sure how webmin communicates with the remote > server so I'm not too sure what is/is not possible! :-) You would have to use code like : remote_foreign_call($server, $module, "system_logged", $your_command); remote_foreign_call($server, $module, "webmin_log", "whatever"); Most modules do their logging on the 'master' side rather than the 'slave' side .. however, this would still work fine. - Jamie |