You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This server-side class allows operations with log archives.

removeUnpacked(sysLogArchiveId)


This method allows removing unpacked outdated logs that are over one month old.


Parameter(s):

NameTypeMandatoryDefault Value
sysLogArchiveIdStringYN


Return:

TypeDescription
VoidThis method does not return a value.


Example:

removeUnpacked
const logArchive = new SimpleLogArchive();
logArchive.removeUnpacked('161478566913431857');


runPacking()


This method packs outdated logs into an archive. Logs that are over one month old are considered outdated.


Return:

TypeString
VoidThis method does not return a value.


Example:

runPacking
const logArchive = new SimpleLogArchive();
logArchive.runPacking();

runUnpacking(sysLogArchiveId)


This method removes outdated logs from the log archive. Logs that are over one month old are considered outdated.


Parameter(s):

NameTypeMandatoryDefault Value
sysLogArchiveIdStringYN


Return:

TypeString
VoidThis method does not return a value.


Example:

runUnpacking
const logArchive = new SimpleLogArchive();
logArchive.runUnpacking('161478566913431857');


  • No labels