mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 11:15:54 +02:00
chore(server): make date-time logs verbose (#13659)
make date-time logs verbose
This commit is contained in:
parent
c77345637b
commit
21d7cf6de6
@ -579,7 +579,7 @@ export class MetadataService extends BaseService {
|
||||
|
||||
private getDates(asset: AssetEntity, exifTags: ImmichTags) {
|
||||
const dateTime = firstDateTime(exifTags as Maybe<Tags>, EXIF_DATE_TAGS);
|
||||
this.logger.debug(`Asset ${asset.id} date time is ${dateTime}`);
|
||||
this.logger.verbose(`Asset ${asset.id} date time is ${dateTime}`);
|
||||
|
||||
// timezone
|
||||
let timeZone = exifTags.tz ?? null;
|
||||
@ -590,7 +590,7 @@ export class MetadataService extends BaseService {
|
||||
}
|
||||
|
||||
if (timeZone) {
|
||||
this.logger.debug(`Asset ${asset.id} timezone is ${timeZone} (via ${exifTags.tzSource})`);
|
||||
this.logger.verbose(`Asset ${asset.id} timezone is ${timeZone} (via ${exifTags.tzSource})`);
|
||||
} else {
|
||||
this.logger.warn(`Asset ${asset.id} has no time zone information`);
|
||||
}
|
||||
@ -603,7 +603,7 @@ export class MetadataService extends BaseService {
|
||||
localDateTime = asset.fileCreatedAt;
|
||||
}
|
||||
|
||||
this.logger.debug(`Asset ${asset.id} has a local time of ${localDateTime.toISOString()}`);
|
||||
this.logger.verbose(`Asset ${asset.id} has a local time of ${localDateTime.toISOString()}`);
|
||||
|
||||
let modifyDate = asset.fileModifiedAt;
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user