Enabling Logging of InfluxDB®
For DB problem analysis it might be helpful to enable logging in the InfluxDB® to write informational texts into a log file. If logging should be used, open the InfluxDB® configuration file influxdb.conf (located in <projdir>/config), search for the line "logging-enabled" and change it from false to true:
logging-enabled = false
After the next restart of the InfluxDB® database, specific log output will be written into <proj-dir>/log/influx.txt. For the log output of the InfluxDB®, the database must be restarted manually before the start of the NextGen Archiver in the WinCC OA console. An automatic restart by the NGA backend is not sufficient (see Configuration - Backend).
There is no size limit for this file. To avoid disk overflow, the setting has to be reset (changed back to false) and the database must be restarted when logging is no longer required. You can delete the log file when the database is stopped.