Introduced log_by_lua and log_by_lua_file params.
Merge pull request #300 from hdanes/feature/log_by_lua_file

Introduced log_by_lua and log_by_lua_file params.