Skip to content

Reports - Find Audit Trail from logs #1321

@alan-null

Description

@alan-null

I think this line

$formattedFileDate = "$($file.LastAccessTime.Date.Month)/$($file.LastAccessTime.Date.Day)/$($file.LastAccessTime.Date.Year)"

should use: LastWriteTime instead of LastAccessTime

we use it for sorting but for unknown reason the other one is used to formating dates.

UPDATE 2024-04:
Logs are no longer stored on a disk, now, they're pushed to Azure Blob storage.
If we want to keep features depending on the disk-based logs relevant we have to update.

Haven't tied it yet but this might be good starting point

$factory = [Sitecore.XmCloud.BlobStorageLogging.Factories.BlobContainerClientFactory]::new()
$client = $factory.CreateClient

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions