Rename 'log_*' to 'lua_hook_*', better reflecting the features generality. Add INFILE paramaters for toggling the feature on/off.