Skip to content

Logging

Josh Johnson edited this page Nov 25, 2020 · 5 revisions

v3.0.0 and later

Cloud FTP Bridge writes log files to %PROGRAMDATA%\TrueCommerce\PSGEngineering\CloudFtpBridge\v3\Logs (typically expands to C:\ProgramData\TrueCommerce\PSGEngineering\CloudFtpBridge\v3\Logs). Logging is configured in the Logging section of the appsettings.Production.json file found in the Cloud FTP Bridge installation directory. For information on how to adjust log levels, see the Microsoft ASP.NET Core documentation.

v2.7.0 and earlier

Cloud FTP Bridge writes log files to %PROGRAMDATA%\TrueCommerce\PSGEngineering\Logging (typically expands to C:\ProgramData\TrueCommerce\PSGEngineering\Logging). Logging is configured in the Logging section of the appsettings.json file found in the Cloud FTP Bridge installation directory. Below are the default settings:

  • MinimumLogLevel: Debug

    • Possible Values: Verbose, Debug, Information, Warning, Error, Fatal
  • RollingFilePrefix: CloudFtpBridge

    • Possible Values: Any valid Windows file name string.
    • This setting determines the first portion of the log file name (differentiates log files from other PSG Engineering apps).
  • UseMultiProcessLogging: true

    • Possible Values: true or false
    • This setting should not be changed. It allows the UI process and the polling service process to write to the same log file simultaneously.
  • UseRollingFiles: true

    • Possible Values: true or false
    • This setting enables or disables file logging.
    • NOTE: A new log file will be created each day and up to 31 days worth of log files will be kept before they are deleted.
Clone this wiki locally