@@ -8,6 +8,24 @@ This repository provides the following functionalities:
7.[Trigger a Pipeline Run](#7-trigger-a-pipeline-run)
8.[Query a Pipeline Run State](#8-query-a-pipeline-run-state)
## Logging Configuration
By default, log files are written to the current working directory. You can configure a custom logging directory to centralize all csst_fs related log file outputs:
```python
importcsst_fs
# Configure logging directory (must be an absolute path)
csst_fs.configure_logging('/var/log/csst_fs')
# All subsequent log files will be written to the configured directory
# This affects all loggers in the csst_fs package
```
**Important Notes:**
- The logging directory must be an absolute path and will be created automatically if it doesn't exist.
- Log files are created **lazily** - they are only created when the first log message is written, not during import.
- Call `configure_logging()` early in your application to ensure all subsequent logs go to the desired directory.
# 1. Read or Download a File from S3 storage
Supported are two distinct ways of reading from s3 storage.