Skip to content

Commit 951df7d

Browse files
Update README
1 parent 6a68932 commit 951df7d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ train("gs://my-bucket/arrayrecords/")
331331
| `KERAS_REMOTE_ZONE` | No | `us-central1-a` | Default compute zone |
332332
| `KERAS_REMOTE_CLUSTER` | No | `keras-remote-cluster` | GKE cluster name |
333333
| `KERAS_REMOTE_GKE_NAMESPACE` | No | `default` | Kubernetes namespace |
334+
| `KERAS_REMOTE_LOG_LEVEL` | No | `INFO` | Log verbosity (`DEBUG`, `INFO`, `WARNING`, `ERROR`, `FATAL`) |
334335

335336
### Decorator Parameters
336337

@@ -450,11 +451,14 @@ gcloud builds list --project=$KERAS_REMOTE_PROJECT --limit=5
450451

451452
### Debug Logging
452453

453-
```python
454-
import logging
455-
logging.basicConfig(level=logging.INFO)
454+
Keras Remote uses `absl-py` for logging. You can control the log verbosity by setting the `KERAS_REMOTE_LOG_LEVEL` environment variable:
455+
456+
```bash
457+
export KERAS_REMOTE_LOG_LEVEL="DEBUG"
456458
```
457459

460+
Supported levels are `DEBUG`, `INFO`, `WARNING`, `ERROR`, and `FATAL`. The default is `INFO`.
461+
458462
### Verify Setup
459463

460464
```bash

0 commit comments

Comments
 (0)