Ignore symlinks and log files.