Move location capturing out of main log method.
0.1.14