Link instead of file
Fixing the exception logging