# Logging Usage

It is possible to track usage as to who logs in, what modules they use, and for how long they use FluidFlow3. This is an optional feature, which is "on" by default. To control this setting (i.e., turn on/off), add an UpdateNetworkLogFile entry to the PSFF.INI. - Create a PSFF.INI file (if it doesn’t already exist) in the same folder as the application, PSFF.EXE. - Add an entry to the [Options] section: [Options] UpdateNetworkLogFile=1 (Note: To turn off, set UpdateNetworkLogFile=0) Whenever a user starts FluidFlow3 the usage will be recorded in a FF3NLOG.CSV file. This file will be located in your NetworkAccessFolder location, if this has been specified in your PSFF.INI; if not specified, it will be created in the Windows "Public Documents" folder, under a sub-folder called Flite\FluidFlow3, e.g., C:\Users\Public\Documents\Flite\FluidFlow3. Example FF3NLOG.CSV Additionally, you can track who has last edited anything under the 'Database' menu item. This is not very detailed though, and only records who added/deleted/modified records under what "component group" (e.g., Valves), and when. This usage tracking is off, by default; you need to specifically turn it on in the PSFF.INI using the UpdateDataLogFile entry. [Options] UpdateDataLogFile=1 (Note: To turn off, remove the entry or set it to 0, e.g., UpdateDataLogFile=0) A typical PSFF.INI, with both logs on, might look like: [Options] DataFolder=\\ServerX\FluidFlow3\Data PreferencesFolder=\\ServerX\FluidFlow3\Preferences NetworkAccessFolder=\\ServerX\FluidFlow3 UpdateNetworkLogFile=1 UpdateDataLogFile=1 In the above, the FF3NLOG.CSV and DATALOG.CSV log files will be created in the \\ServerX\FluidFlow3 folder. You can open these files in Excel (or any text editor - .CSV is a comma-separated values file.) [NetworkLogFile] Section Within the PSFF.INI file, there's an optional NetworkLogFile section that can be used to control the logging:
Entry | Default | Description
DateFormat | dd-mm-yyyy | Default to the short-date format for your regional settings, for example, to dd-mm-yyyy. See here for the formatting options.
Filename | FF3NLOG.CSV | Defaulting to FF3NLOG.CSV, this is the name of the file to which to save the logging data. If specified, do not include a path, as the NetworkAccessFolder is where it will be placed.
RecordSeparateEvents | 0 | 0 = record login/logout as a single event; 1 = record them as separate entries in the log file.
RecordSeparateModules | 0 | 0 = note all the modules selected on login as a single string; 1 = record them as separate entries in the log file.
RecordWindowsUserName | 1 | 0 = do not store the Windows Username of the FluidFlow3 user in the log file; 1 = record the Windows Username.
RecordWindowsComputerName | 1 | 0 = do not store the Windows Computer Name in the log file; 1 = record the Windows Computer Name.
MaxEntries | 0 | Defaulting to 0, meaning no maximum, if specified the logging entries will "loop" around when the maximum is reached.