OnDemand Users Group

Archive => Other => Topic started by: JFHall on June 16, 2021, 05:24:41 AM

Title: Is System Log data stored in DB only or in Cache?
Post by: JFHall on June 16, 2021, 05:24:41 AM
Does anyone know if the System Log data is stored in the DB only?  Or does index information get stored in the DB and data in a cache file system like with a normal report application?
Title: Re: Is System Log data stored in DB only or in Cache?
Post by: Darrell Bryant on June 16, 2021, 02:19:50 PM
Any System Log message that has View = Yes has an associated data object in Cache. You should always cache the System Log for at least 1 day so that it can append multiple data objects together in cache.
Title: Re: Is System Log data stored in DB only or in Cache?
Post by: JFHall on June 17, 2021, 05:22:48 AM
I searched for %View% in the Message of the System Log for the last 6 months and got no hits.  I guess I can reasonably assume, therefore, that my installation stores all the System Log messages in the DB alone, with no data in the cache file systems.
Title: Re: Is System Log data stored in DB only or in Cache?
Post by: Darrell Bryant on June 17, 2021, 12:32:41 PM
When you open the system log in the OnDemand client, there is a column named View. If the value in that column is Yes, the message has a document associated with it.
Title: Re: Is System Log data stored in DB only or in Cache?
Post by: JFHall on June 18, 2021, 05:42:58 AM
Oh, gotcha now.  Yes, I definitely have System Log data in cache in that case.  Thank you for spelling it out for this newbie.  :-)
Title: Re: Is System Log data stored in DB only or in Cache?
Post by: nonix on June 21, 2021, 03:08:53 PM
Just a side note: as Darrell mentioned: "Log message that has View = Yes". and this concern only the output information, not the complete system log record. Probably the most common is output of "arsload -v" or "arsmaint", but there are others as well.

However, all other (complete) information found in System log is *DB only*.
With a help of "arslog - OnDemand User Exit Logging Facility" you could push the messages to a file.

Cheers,
N.