archive/Lookup, input/Archive: remove useless log messages
This commit is contained in:
parent
9ae1256ae7
commit
0019231a37
@ -18,8 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "ArchiveLookup.hxx"
|
||||
#include "ArchiveDomain.hxx"
|
||||
#include "Log.hxx"
|
||||
#include "fs/FileInfo.hxx"
|
||||
#include "system/Error.hxx"
|
||||
|
||||
@ -57,9 +55,6 @@ archive_lookup(char *pathname)
|
||||
//so the upper should be file
|
||||
return {Path::FromFS(pathname), Path::FromFS(slash + 1)};
|
||||
} else {
|
||||
FormatError(archive_domain,
|
||||
"Not a regular file: %s",
|
||||
pathname);
|
||||
return {};
|
||||
}
|
||||
} catch (const std::system_error &e) {
|
||||
|
@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "ArchiveInputPlugin.hxx"
|
||||
#include "archive/ArchiveDomain.hxx"
|
||||
#include "archive/ArchiveLookup.hxx"
|
||||
#include "archive/ArchiveList.hxx"
|
||||
#include "archive/ArchivePlugin.hxx"
|
||||
@ -45,8 +44,6 @@ OpenArchiveInputStream(Path path, Mutex &mutex)
|
||||
try {
|
||||
l = archive_lookup(pname);
|
||||
if (l.archive.IsNull()) {
|
||||
FormatDebug(archive_domain,
|
||||
"not an archive, lookup %s failed", pname);
|
||||
return nullptr;
|
||||
}
|
||||
} catch (...) {
|
||||
@ -62,8 +59,6 @@ OpenArchiveInputStream(Path path, Mutex &mutex)
|
||||
//check which archive plugin to use (by ext)
|
||||
arplug = archive_plugin_from_suffix(suffix);
|
||||
if (!arplug) {
|
||||
FormatWarning(archive_domain,
|
||||
"can't handle archive %s", l.archive.c_str());
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user