|
From: Jamie C. <jca...@we...> - 2007-02-13 20:44:56
|
On 13/Feb/2007 12:37 Dave Isaacs wrote .. > Is there a way, when writing a webmin module, to use lock_file() and > unlock_file() and *not* have the file diff be included when webmin_log() > is called. I general, I want to log file diffs, but in one particular > case the file contains passwords and I don't want the passwords to > appear in the log. Yes - if you set the second parameter for lock_file to 1, it will not be diffed when logging is done. - Jamie |