SolarWinds SFTP & SCP Server Logging

FormerMember
FormerMember

Hello,

We have a customer that is using the SolarWinds SFTP & SCP server application for secure file transfer. The SFTP offering is great and no complaints on the job it does, its perfect ATM. However, I have a question regarding logging for the SFTP. Currently the logs are homed in the "C:\ProgramData\SolarWinds" directory and I see the logs grow to file name "SftpServer.log.10" and then starts to overwrite file name "SftpServer.log.1" and works it way down to file name "SftpServer.log.10". It is clearly overwriting the daily logs and in our customers environment it seems they are being overwritten several times in the day. To explain this SFTP server is for tolling images collected for processing, then the customer picks up the images via their SFTP client/cli solution but they download millions of images in a day. So this makes it real hard for me when I need to go back into the logs for validation of a file transfer; even if I had the file it is a chore even with Notepad++.

I now I ask does anyone know of a way to extend the amount of log files is stored i.e. *.log.10 and higher lets say 50-60 maybe. I just need to retain those logs a bit longer than the current configuration if configurable.

Parents
  • I happened to stumble upon this post while researching where to look for the log files.  Replying here since I think I have the answer you need...

    The SFTP server is being installed into folder:  C:\Program Files (x86)\SolarWinds\SftpServer

    If you look in that fiolder, you'll find a file: SolarWindsSftpServer.exe.config

    This is just a simple text file which you can edit, if you know what you are doing.  Make a backup...just in case.  Inside the file, you'll find a configuration section log4net.  You should be able to edit this section to change the logging to work however you would like.  After you make your changes, you'll probably need to restart the service to pick up the changes.

    https://logging.apache.org/log4net/release/manual/configuration.html

Reply
  • I happened to stumble upon this post while researching where to look for the log files.  Replying here since I think I have the answer you need...

    The SFTP server is being installed into folder:  C:\Program Files (x86)\SolarWinds\SftpServer

    If you look in that fiolder, you'll find a file: SolarWindsSftpServer.exe.config

    This is just a simple text file which you can edit, if you know what you are doing.  Make a backup...just in case.  Inside the file, you'll find a configuration section log4net.  You should be able to edit this section to change the logging to work however you would like.  After you make your changes, you'll probably need to restart the service to pick up the changes.

    https://logging.apache.org/log4net/release/manual/configuration.html

Children
No Data