selftest: Make location of log file available in tests