Skip To Content

Container Logs

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


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

JSON Response example


{
  "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"
  ]
}