Fixes missing filename in the log