1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-26 10:50:29 +02:00

Switch log to debug

This commit is contained in:
Chuckame 2024-12-24 10:43:13 +01:00
parent 6f9bac25f5
commit 67471c79e5

View File

@ -589,7 +589,7 @@ export class MetadataService extends BaseService {
let dateTimeOriginal = dateTime?.toDate(); let dateTimeOriginal = dateTime?.toDate();
let localDateTime = dateTime?.toDateTime().setZone('UTC', { keepLocalTime: true }).toJSDate(); let localDateTime = dateTime?.toDateTime().setZone('UTC', { keepLocalTime: true }).toJSDate();
if (!localDateTime || !dateTimeOriginal) { if (!localDateTime || !dateTimeOriginal) {
this.logger.warn( this.logger.debug(
`No valid date found in exif tags from asset ${asset.id}, falling back to earliest timestamp between file creation and file modification`, `No valid date found in exif tags from asset ${asset.id}, falling back to earliest timestamp between file creation and file modification`,
); );
// eslint-disable-next-line unicorn/prefer-math-min-max // eslint-disable-next-line unicorn/prefer-math-min-max