ScadaWeb.log – Config/Retention Parameters

Forum Home Forums Understanding the Software ScadaWeb.log – Config/Retention Parameters

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3170
    yotool
    Participant

    Is it the “Server” service that actually writes to this file (ScadaWeb.log)?

    It looks like it is a 2 day FIFO setup.

    How can the retention period of this log be changed?

    Where is this file’s location etc. defined?

    Thanks.

    • This topic was modified 7 years, 6 months ago by Mikhail.
    #3175
    Mikhail
    Moderator

    The web application writes to ScadaWeb.log
    When a log file exceeds more than a fixed size (as I remember 10MB), it starts from the beginning.
    Log size is a constant in the source code, there is no parameter to change.
    Location is related to an application directory.

    #3182
    yotool
    Participant

    Could it be only 1 MB?

    …and then it writes it (backs it up to) ..\ScadaWeb.log.bak?

    ..then it creates a new ScadaWeb.log file.

    That is what I am seeing so far.

    Wiping it out (deleting it) at some fixed size and starting new (without any preservation of the original contents) would not provide any “continuity” of historical entries.

    I’m just trying to track who is logging in and out over time to the SCADA web app.

    Thanks again.

    Thanks

    #3183
    Mikhail
    Moderator

    Could it be only 1 MB?
    …and then it writes it (backs it up to) ..\ScadaWeb.log.bak?
    ..then it creates a new ScadaWeb.log file.
    That is what I am seeing so far.

    Yes, 1MB for the web app.
    When *.log exceeds max size, it is renamed to *.bak and new *.log created.

    I’m just trying to track who is logging in and out over time to the SCADA web app.

    It’s possible to develop a plugin that stores all logins/logouts into a database, Rapid SCADA events or other text files.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.