diff --git a/packages/techdocs-common/src/stages/publish/azureBlobStorage.ts b/packages/techdocs-common/src/stages/publish/azureBlobStorage.ts index 2d3df4e6b4..60a93ea520 100644 --- a/packages/techdocs-common/src/stages/publish/azureBlobStorage.ts +++ b/packages/techdocs-common/src/stages/publish/azureBlobStorage.ts @@ -339,7 +339,7 @@ export class AzureBlobStoragePublish implements PublisherBase { res.send(fileContent); }) .catch(e => { - this.logger.error( + this.logger.warn( `TechDocs Azure router failed to serve content from container ${this.containerName} at path ${filePath}: ${e.message}`, ); res.status(404).send('File Not Found'); diff --git a/packages/techdocs-common/src/stages/publish/googleStorage.ts b/packages/techdocs-common/src/stages/publish/googleStorage.ts index ba5bec8752..81bbd556eb 100644 --- a/packages/techdocs-common/src/stages/publish/googleStorage.ts +++ b/packages/techdocs-common/src/stages/publish/googleStorage.ts @@ -261,7 +261,7 @@ export class GoogleGCSPublish implements PublisherBase { res.writeHead(200, responseHeaders); }) .on('error', err => { - this.logger.error( + this.logger.warn( `TechDocs Google GCS router failed to serve content from bucket ${this.bucketName} at path ${filePath}: ${err.message}`, ); // Send a 404 with a meaningful message if possible. diff --git a/packages/techdocs-common/src/stages/publish/openStackSwift.ts b/packages/techdocs-common/src/stages/publish/openStackSwift.ts index b5111ec2fb..e224fbdbaf 100644 --- a/packages/techdocs-common/src/stages/publish/openStackSwift.ts +++ b/packages/techdocs-common/src/stages/publish/openStackSwift.ts @@ -245,13 +245,13 @@ export class OpenStackSwiftPublish implements PublisherBase { res.send(await streamToBuffer(stream)); } catch (err) { - this.logger.error( + this.logger.warn( `TechDocs OpenStack swift router failed to serve content from container ${this.containerName} at path ${filePath}: ${err.message}`, ); res.status(404).send('File Not Found'); } } else { - this.logger.error( + this.logger.warn( `TechDocs OpenStack swift router failed to serve content from container ${this.containerName} at path ${filePath}: Not found`, ); res.status(404).send('File Not Found');