Logging and troubleshooting
S3 interface for MSDP log is saved at <storage>/log/vxs3. You can also find the errors that are related to S3 API at this location. Some errors can be found under spad/spoold.
Configuring the logging
- Configure the log level manually.
Edit S3 server configuration file
<storage>/etc/puredisk/s3srv.cfg; None: 0; Error: 1; Warning: 2; Info: 3; Debug: 4 ; @restart LogLevel=<log level>
- Restart the S3 server.
systemctl restart pdde-s3srv
NGINX forwards request to the S3 server. NGINX logging is disabled by default. If you want to use it, you must enable NGINX log in S3 NGINX configuration.
Enabling NGINX logging
- Edit
/etc/<nginx server name>/conf.d/s3srvbyo.conf. - Change access and error part as follows:
access_log <access log path> main; error_log <error log path> debug; - Reload the NGINX configuration.
systemctl reload <nginx server name>