Modify init script to support custom log_file & add sample usage
Merge pull request #1769 from PJK/custom_log_file

Modify init script to support custom log_file & add sample usage

Pull request #1769 reviewed by @atnnn