How to modify the log file options on a Pharos Customer Service Kiosk?
  • 29 Mar 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

How to modify the log file options on a Pharos Customer Service Kiosk?

  • Dark
    Light
  • PDF

Article summary

Question:

How to modify the log file options on an older style Pharos Customer Service Kiosk?


Answer:

The configuration for the logging mechanism is located in the file "CustomerServiceKiosk.exe.Config" which is in the below directory.

32-bit machine: C:\Program Files\Pharos\CustomerServiceKiosk

64-bit machine: C:\Program Files (x86)\Pharos\CustomerServiceKiosk

The Pharos Customer Service Kiosk contains a folder of log files in the path listed below.

32-bit machine: C:\Program Files\Pharos\CustomerServiceKiosk\logs

64-bit machine: C:\Program Files (x86)\Pharos\CustomerServiceKiosk\logs

In the above log folder there is also an "Archive" folder. By default the log files will be saved to the Archive folder after the log file reaches 5MB. By default it will also archive the log after every month by default it will only save 5 Archive log files. This is controlled by a 3rd party DLL we use called "NLog".

The configuration for this logging is in the file mentioned above is the below line in the configuration file.

<target name="TransactionLog"
xsi:type="File"
fileName="${basedir}/logs/TransactionLog.csv"
archiveFileName="${basedir}/logs/archives/TransactionLog.{#####}.csv"
archiveAboveSize="5000000"
archiveEvery="Month"
archiveNumbering="Sequence"
maxArchiveFiles="5">

By modifying the archiving value you can adjust how many archive files are stored and increase the size of them If the kiosk gets a lot of use it is possible the small log files it produces by default and minimal archive files will not capture a problem when it occurs.

Note: The archiveAboveSize value above is in Bytes.


Was this article helpful?


Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.