isc.syslog.lossless


Follow
0
Star
0
Details
Releases
Issues
This application is not supported by InterSystems Corporation. Use it at your own risk.

SYSLOG facility of ISC cache are entries in cyclic buffer so when it is filled up then a new entries overwrite old.
Since it is important information about OS errors or key errors in cache kernel it might be desirable to hold this info during longer time than overwriting starts to happen.

^%z.syslog utility relogs SYSLOG info into a file or global and can be stared as daemon as COS job command for example SYSTEM^%ZSTART or as system task.

SYSTEM^%ZSTART
 D relog^%z.syslog("file:"_$zu(12)_"sys.log",1)

For details see comment before routine label.
It is expected to load it and compile into %SYS namespace.

Note: it is not tested for big endean cache kernel.

Category
Developer Environment
Works with
Caché
Tags
Info
Version
1.21.3
Last updated
2018-06-01
Repository
Open