only search for log files when not in init