Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(server): make date-time logs verbose #13659

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions server/src/services/metadata.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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`);
}
Expand All @@ -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 {
Expand Down
Loading