FMaintenance::DeleteOldLogs

Deletes log files older than a number of days specified in the Engine ini file

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/CoreMisc.h

Include

#include "Misc/CoreMisc.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/FileHelper.cpp

Syntax

static void DeleteOldLogs()

Remarks

Deletes log files older than a number of days specified in the Engine ini file