Merge pull request #44 from nguyenvuthiennga/master

Add macro to avoid warning while not using logging mode
trivial: wrong variable name
- worker is the worker_id where task is run (-1 indicates wrapper)
- location is the user-desired location of the task