> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/qtech/datscan-and-data-loggers/ep3-data-manager/log-files.md).

# Log file names and contents

How the EP3 names its log files, and what's in the CSV file.

Imported files from Datalogger modules will appear in the **logging** folder. The data is stored in both RAW (binary) format and as human readable comma separated variable format (CSV) on the SD card. The filenames (CSV and RAW) are built up of the logger short name, the date and an index number.

## File names

`[Logger Shortname]_[YYYY-MM-DD]_[Index].csv`

For example: `RH01_2022-01-12_01.CSV` and `RH01_2022-01-12_01.RAW`

| Part             | Meaning                                                                                                                                                                                                         |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Logger Shortname | A unique 3 or 4-character name shown in brackets on the DatScan software (aka Site Code).                                                                                                                       |
| YYYY-MM-DD       | Today's date. The date used in the filename for each logger is taken from the EP3 Data Manager and not the Q54 or WDL module. This represents the date when the GET button was pressed.                         |
| Index            | An incrementing value such that if the logger is read a second time on the same day then the CSV file will not be over-written. The first download is 01 but if it is downloaded again a new file is made (02). |

## The RAW file

The Raw files contain the point identifier of the logged data value, a timestamp, and the value of the data point. QTech’s DatScan Analyser software can be used to import the RAW file format. This is also useful if the CSV file is corrupted. Alternatively, QTech provides utility programme “[EP3 CSV Converter](https://help.qtech.co.nz/qtech/datscan-and-data-loggers/datscan-analyser/csv-converter.md)” to convert the RAW file to CSV format.

## The CSV file

| Column | Contents                                                                                                                                                   |
| ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A      | Column A is an index field that can be used to re-order the data back to its original state if it has been sorted by any of the other columns.             |
| B      | Column B is the timestamp of when the event occurred, in the form yyyy/mm/dd hh:mm:ss.                                                                     |
| C      | Column C describes what the event was. See [Logged events](https://help.qtech.co.nz/qtech/datscan-and-data-loggers/wireless-data-logger/logged-events.md). |

## Open it in Excel

1. The CSV files can be loaded directly into Excel.
2. Column B needs to be stretched such that the date fits and is displayed. Notice that the seconds are still missing.
3. Right mouse click on Column B and select **Format Cells** from the popup menu.
4. Select the Category to be **Custom** and enter an appropriate date format that includes seconds.

{% hint style="warning" %}
Excel can corrupt the original file if saved in this new format. We recommend making a backup of the original file before making any modifications. If the CSV file was viewed using Excel prior to import and then saved when Excel was exited, Excel will lose the seconds from the timestamps.
{% endhint %}
