Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Configure Appropriate Logging

Geo SCADA Knowledge Base

Access vast amounts of technical know-how and pro tips from our community of Geo SCADA experts.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Knowledge Center
  • Geo SCADA Knowledge Base
  • Configure Appropriate Logging
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Labels
Top Labels
  • Alphabetical
  • database 32
  • Web Server and Client 31
  • WebX 19
  • Request Form 18
  • Lists, Events & Alarms 16
  • ViewX 15
  • Application Programming 12
  • Setup 12
  • Telemetry 8
  • Events & Alarms 7
  • Lists 7
  • Mimic Graphics 7
  • Downloads 6
  • Support 5
  • IoT 5
  • SCADA 5
  • Geo SCADA Expert 5
  • Drivers and Communications 4
  • Security 4
  • DNP 3 3
  • IEC 61131-3 Logic 3
  • Trends and Historian 2
  • Virtual ViewX 2
  • Geo Scada 1
  • ClearSCADA 1
  • Templates and Instances 1
  • Releases 1
  • Maps and GIS 1
  • Mobile 1
  • Architectures 1
  • Tools & Resources 1
  • Privacy Policy 1
  • OPC-UA 1
  • Previous
  • 1 of 4
  • Next
Latest Blog Posts
  • OPC UA - Driver and Server
  • Requirements for Generating a Valid OPC UA Server Certificate
  • Load Events Using LoadRecord and LoadRecords
  • Geo SCADA Embedded Component Licenses
  • Geo SCADA 2023 Known Issues
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Anonymous user
Not applicable
‎2021-06-09 09:40 AM
1 Like
0
1348
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-06-09 09:40 AM

Configure Appropriate Logging

Originally published on Geo SCADA Knowledge Base by Anonymous user | June 09, 2021 06:40 PM

📖 Home  Back  


This article is a brief summary of several detailed articles about configuring Geo SCADA logging that can be found in the Logging and Log File Analysis section. It should be understood that in most cases the default logging settings in Geo SCADA are only sufficient to capture a time window of a few minutes. One should always make sure that Geo SCADA logging is configured to capture events over a sufficient time window in order for log files be useful when troubleshooting issues.

The information provided below will explain how to increase the number of log files for Geo SCADA server, drivers and clients.

For more information about each type of logging please go over the dedicated articles in the Logging and Log File Analysis section.



Setting up Server Logging


To configure server logging, please right click on the Geo SCADA Server Icon and select Configuration. Once the Server Configuration dialog is displayed, navigate to the page shown in the screen capture below and change Maximum Size Of Each File, Maximum Number of Files and Number of Old Files to Keep to sufficient values. The location of the server log files is shown in File Base. The field 'Number of Old Files to Keep' is the number of SETS of log files to keep, so this may need to be 2 or 3. The number of files actually kept per log type will be this field multiplied by the Maximum Number of Files.

Pic1.PNGPic1.PNGPic1.PNG

Sometimes a Schneider Electric engineer might ask you to enable/disable certain server logging options. To do such, please right click on the Geo SCADA Server Icon and select Status for the Status dialog to get displayed. Once the dialog is displayed, navigate to the section below for a list of all server side logging options available in Geo SCADA. To enabled/disable an option, right click on the option and select Enable/Disable respectively.

Pic2.PNGPic2.PNGPic2.PNG

Setting up Driver Logging


To configure driver logging, please right click on the Geo SCADA Server Icon and select Status. In the Status dialog, navigate to the section below for a list of all Geo SCADA drivers installed on the server. Right click on the particular driver and select "_Logging..._". Under the Configuration tab, increase Maximum Size of Each File, Maximum Number of Files and Number of Old Files to keep to sufficient values. File Base shows the location of the driver log files.

Pic3.PNGPic3.PNGPic3.PNG
Sometimes a Schneider Electric engineer might ask you to enable/disable certain driver logging options. To do such, navigate to the Current Options tab in the Driver Logging dialog as per the screen capture below. To enable (disable) additional logging options, select (deselect) the required option from the Options list and apply the change.


Pic4.PNGPic4.PNGPic4.PNG

Setting up Snapshot Logging


On some occasions a Schneider Electric engineer might ask you to increase the amount of Geo SCADA snapshot log files. To do that please right click on the Geo SCADA Server Icon and select Configuration. Navigate to the System Configuration | Logging section and in the Snapshots section change Interval, Maximum Size and Number of old files to the requested amount. The location of the DBSnapshot log files is shown here too. Usually the checkbox 'Reset Counters' should be checked.

Setting up DBClient Logging


To configure DBClient logging, open up Windows Registry and navigate to \HKEYCURRENT_USER\Software\Schneider Electric\ClearSCADA\DBClientNamed_. Make sure the logging is enabled and increase LogMaxFiles, LogMaxSize and LogOldFiles values. The location of the DBClientNamed log files is shown in LogFileBase.

Setting up ViewX Logging


ViewX in CS2014 R1 onwards uses WPF and .NET technologies. The configuration of this new ViewX application uses SE.Scada.ViewX.exe.config XML files located adjacent to the SE.Scada.ViewX.exe application itself (_%ProgramFiles(x86)%\Schneider Electric\ClearSCADA\ SE.Scada.ViewX.exe.config_).

In File Browser, with no visible extensions:

NewViewXDBClient_1.pngNewViewXDBClient_1.pngNewViewXDBClient_1.png

In command line or with file extensions visible:

NewViewXDBClient_3.pngNewViewXDBClient_3.pngNewViewXDBClient_3.png

And the SchneiderElectric.Scada.ViewX.Properties.Settings element defines its configuration. Specifically, to control logging, the following elements' values need changing:


NewViewXDBClient_2.pngNewViewXDBClient_2.pngNewViewXDBClient_2.png

It is likely that the SE.Scada.ViewX.exe.config file will require administrator permissions to edit the settings. To edit settings, open the editor (e.g. Notepad) as administrator and then open the XML configuration file from within the editor.


Note that an upgrade of Geo SCADA will overwrite the existing XML configuration file with the default configuration. The XML configuration file will need to be re-configured after an upgrade of Geo SCADA takes place.



How Much Logging is Sufficient?


When the maximum number of log files that Geo SCADA generates is reached, the oldest log files get overwritten and information they contain gets lost. Therefore one should always make sure the log files of interest get collected before they get overwritten. The number of log files to keep is specific to each application as the amount of information logged depends on the nature of the application, the size of the database, drivers used, logging options enabled etc. Ideally one would want Geo SCADA log files to at least capture a time window of several days to cover weekends, long weekends and other long holidays to make sure the log files do not get overwritten when there is no one available to collect them. To check how much time is captured by a certain type of Geo SCADA log files, one could simply locate the set of these log files using their File Base and check Date Modified of the first and of the last log file of the same type.

Pic7.PNGPic7.PNGPic7.PNG
Be aware that enabling (disabling) additional server or driver logging options will reduce (increase) the time window captured by ClearSCADA logging. This means that the amount of log files of a particular type that ClearSCADA generates will need to be adjusted accordingly to capture the same time window.

Please be mindful of the space available on your hard drive. For example, if Maximum Size Of Each File is set to 5000KB, Maximum Number of Files is set to 25 and Number of Old Files to Keep is set to 2, the required space on the hard drive is going to be:

Maximum Size Of Each File x Maximum Number of Files x (1 current set + Number of Old Files to Keep) or

5000KB x 25 x (1 + 2) = 375000KB

Where 375000 / 1024 = 366MB

 

Planning which disk / partition is going to store log files is important, to avoid impacting other Geo SCADA file-relate operations -- e.g. consider using a separate disk for log files.

 

Planning and configuring log file collection at the time deployment of the system is planned is important. For instance, reserving insufficient disk space and switching 'off' many of the default categories of logging for normal operation of the system will be a problematic position: when a problem is detected and logs are required to investigate the problem, little information will be in the logs and re-dimensioning disks/partitions may be necessary to get the logging required to investigate the problem on a subsequent occurrence. Whereas, well planned and sufficient, default logging, will hopefully provide sufficient information to investigate a single occurrence of a problem.

Go: Home Back

Author

Biography

Anonymous user

Link copied. Please paste this link to share this article on your social media post.

  • Back to Blog
  • Newer Article
  • Older Article
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of