Unable to log file data in webpage

I have created a logging.yml and added the details below:

  • name: log-files-in-folder
    file: C:\ProgramData\RetailPro\Server\Logs\PrismWebModule*.log

but when I go to the web interface and browse to the log data I cannot see any data even though I can see files in the Windows GUI.

You look to have left off the logs: section of the config. It should look like this:

  - name: example-log
    file: /var/log/example.log # Path to a single log file

Please read through the Infra logging documentation an ensure you are formatting your config file correctly:

1 Like