2 Commits

3 changed files with 1416 additions and 2 deletions
@@ -90,7 +90,9 @@ export class LoggingService {
secretKey: process.env.MINIO_SECRET_KEY
});
this.ensureBucketExists();
this.ensureBucketExists().catch(error => {
console.warn('MinIO bucket initialization failed:', error.message);
});
} else {
console.warn('Minio configuration not found. Logs will only be stored locally and in console.');
}
@@ -105,7 +107,9 @@ export class LoggingService {
secretKey: process.env.MINIO_SECRET_KEY || 'serpentrace123!'
});
this.ensureBucketExists();
this.ensureBucketExists().catch(error => {
console.warn('MinIO bucket initialization failed:', error.message);
});
} else {
console.log('Development mode: MinIO disabled. Set ENABLE_MINIO=true to enable MinIO logging.');
this.minioClient = null;
File diff suppressed because it is too large Load Diff
Binary file not shown.