mirror of
https://github.com/immich-app/immich.git
synced 2025-03-01 15:11:21 +01:00
chore(server): make date-time logs verbose (#13659)
make date-time logs verbose
This commit is contained in:
parent
c77345637b
commit
21d7cf6de6
1 changed files with 3 additions and 3 deletions
|
@ -579,7 +579,7 @@ export class MetadataService extends BaseService {
|
||||||
|
|
||||||
private getDates(asset: AssetEntity, exifTags: ImmichTags) {
|
private getDates(asset: AssetEntity, exifTags: ImmichTags) {
|
||||||
const dateTime = firstDateTime(exifTags as Maybe<Tags>, EXIF_DATE_TAGS);
|
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
|
// timezone
|
||||||
let timeZone = exifTags.tz ?? null;
|
let timeZone = exifTags.tz ?? null;
|
||||||
|
@ -590,7 +590,7 @@ export class MetadataService extends BaseService {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (timeZone) {
|
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 {
|
} else {
|
||||||
this.logger.warn(`Asset ${asset.id} has no time zone information`);
|
this.logger.warn(`Asset ${asset.id} has no time zone information`);
|
||||||
}
|
}
|
||||||
|
@ -603,7 +603,7 @@ export class MetadataService extends BaseService {
|
||||||
localDateTime = asset.fileCreatedAt;
|
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;
|
let modifyDate = asset.fileModifiedAt;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Reference in a new issue