Skip to content

Commit 6bf16aa

Browse files
committed
Remove debugging section from docs
1 parent 7957626 commit 6bf16aa

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

docs/deployments/request-handlers.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,3 @@ onnxruntime==0.5.0 # In ONNX serving images only
8383
```
8484

8585
You can install additional PyPI packages and import your own Python packages. See [Python Packages](../piplines/python-packages.md) for more details.
86-
87-
## Debugging
88-
89-
A Cortex logger can be imported and used in request handlers.
90-
91-
```python
92-
from cortex.lib.log import get_logger
93-
94-
logger = get_logger()
95-
96-
def pre_inference(sample, metadata):
97-
logger.info(sample)
98-
logger.info(metadata)
99-
...
100-
```
101-
102-
The output of these logs can be viewed using `cortex logs <api_name>`.

0 commit comments

Comments
 (0)