Container Logs

URL:
https://<container-url>/logs
Methods:
POST
Required Capability:
Administrator or Create and Edit
Version Introduced:
10.8

Description

This operation returns the log messages for a single container.

Request parameters

ParameterDetails

tail

The maximum number of logs to be returned. The default log messages per page is 1,000.

f

The response format. The default format is html .

Values: html | json | pjson

Example usage

1
2
3
https://notebookserver.domain.com:11443/arcgis/admin/system/containers/d8191a6c83a54491954d06bd9115958f/logs
tail=1000
f=pjson

JSON Response example

1
2
3
4
5
6
7
8
{
  "containerLogs": [
    "id: \u2018jovyan\u2019: no such user",
    "Executing the command: jupyter notebook --NotebookApp.base_url=/server/notebooks/d8191a6c83a54491954d06bd9115958f --NotebookApp.token=pjdiFPx6g5oMLRuA6SJLl8GfihrSiwVLAB7v7XCTM1s= --NotebookApp.notebook_dir=/arcgis --JupyterApp.config_file=/arcgis/home/.jupyter_notebook_config.py --NotebookApp.log_level=30 --NotebookApp.certfile=/arcgis/home/.machine.domain.com.crt --NotebookApp.keyfile=/arcgis/home/.machine.domain.com.key --NotebookApp.shutdown_no_activity_timeout=43200",
    "[W 06:28:33.719 NotebookApp] 404 GET / (127.0.0.1) 54.49ms referer=None",
    "[W 06:28:38.432 NotebookApp] Notebook newnb60ffd4bb94094e279cb4126fd89e1633.ipynb is not trusted"
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close