*
* Option |
* Type |
* Mandatory |
* Default Value |
* Description |
*
*
* name |
* string |
* yes
* | |
* Names the Logger. Used to identify the logger. |
*
*
*
* type |
* string |
* yes
* | |
* Selects the LoggerType. To get a CSVLogger, this
* must be CSVLogger. |
*
*
* datasource |
* string |
* yes
* | |
* Name of the datasource. Must be either a name of a Inverter
* (Inverter Section) or a name of another DataFilter/logger. |
*
*
* logfile |
* string |
* yes
* | |
* Defines the target file for this CSV file.
* See below for additional information. |
*
*
* rotate |
* bool |
*
* | false |
* Create a new logfile at midnight. Also see the notes on logfile below.
* |
*
*
* compact_csv |
* bool |
*
* | false |
* tries to keep the files compact if the data is not changing.
* Done by not writing lines with the exact same content.
* |
*
*
* flush_file_buffer_immediatly |
* bool |
*
* | false |
* if true, do not cache information but immediately write to disk.
* If you are "only logging" this might be fine to set to false, if you do
* some kind of real-time data processing, make this false, as it might
* take some times for the data to enter the disk.
* One use of this option disabled is if you log to flash memory or if
* you want to avoid spinning up disks.
* \note Solarpowerlog only hints the operating system to flush the file
* buffers. The OS or hardware (harddisk) still might use some caching.
* \note Even if this is setting is false, the operating system will still
* take care that the data is written to the disk usually after a few
* seconds.)
* \note Up to version 0.21 including this setting was default set to true.
* |
*
*
* format_timestamp |
* string |
*
* | "%Y-%m-%d %T" |
* How should the timestamp be rendered? You can use the options as
* described here:
* http://www.boost.org/doc/libs/1_37_0/doc/html/date_time/date_time_io.html#date_time.format_flags
*
* However, the default set the date in the ISO 8601 format, for example
* 2009-12-20 13:34:56.
* |
*
*
* data2log |
* string or array |
*
* | all |
* If the string reads "all", everything is logged. If an array is
* given, the data identified by the array will be logged.
* See below for details.
* |
*
*
*
*