Skip to content

How to set up the logs? #603

Answered by drakkan
antipopp asked this question in Q&A
Nov 4, 2021 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Hi,

on EC2 you could install sftpgo from the marketplace, this way you will help the project and you have a dedicated support email

https://aws.amazon.com/marketplace/seller-profile?id=6e849ab8-70a6-47de-9a43-13c3fa849335

For the marketplace instances the logs are in /srv/sftpgo/logs/sftpgo.log.

To configure a dedicated log file you can use something like this:

echo "SFTPGO_LOG_FILE_PATH=/srv/sftpgo/logs/sftpgo.log" > /etc/sftpgo/sftpgo.env
chown sftpgo:sftpgo /etc/sftpgo/sftpgo.env

The events endpoint is available in the development version and will be part of v2.2.0, I suppose you are using v2.1.2, please refer to the docs here

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@antipopp
Comment options

@drakkan
Comment options

@antipopp
Comment options

@kimsonvu
Comment options

Answer selected by antipopp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants