Pivotal/Cloud Foundry/Logs
From r00tedvw.com wiki
(Difference between revisions)
Line 14: | Line 14: | ||
===Contents=== | ===Contents=== | ||
Within the logs you will see references to deployment changes and health monitors. a few things that are shown are: | Within the logs you will see references to deployment changes and health monitors. a few things that are shown are: | ||
+ | *<div class="toccolours mw-collapsible mw-collapsed"> | ||
+ | This text is not collapsible; but the next is collapsible and hidden by default: | ||
+ | <div class="mw-collapsible-content">{{Lorem}}</div> | ||
+ | </div> | ||
+ | |||
+ | <!-- | ||
*<div class="toccolours mw-collapsible mw-collapsed"> | *<div class="toccolours mw-collapsible mw-collapsed"> | ||
reviewing the specifications json and looking for changes | reviewing the specifications json and looking for changes | ||
Line 33: | Line 39: | ||
*<div class="toccolours mw-collapsible mw-collapsed">Metrics and vitals | *<div class="toccolours mw-collapsible mw-collapsed">Metrics and vitals | ||
<div class="mw-collapsible-content"> <nowiki>~$ 2018-08-06_00:30:39.99739 {"deployment":"cf-3dc74d032cbc62c7fd76","job":"router","index":2,"job_state":"running","vitals":{"cpu":{"sys":"0.4","user":"1.1","wait":"11.4"},"disk":{"ephemeral":{"inode_percent":"1","percent":"6"},"system":{"inode_percent":"30","percent":"37"}},"load":["0.14","0.08","0.04"],"mem":{"kb":"255032","percent":"25"},"swap":{"kb":"184","percent":"0"},"uptime":{"secs":2368202}},"node_id":"34d09360-b21f-4328-a2dc-f6a6b4211c42"}</nowiki></div> | <div class="mw-collapsible-content"> <nowiki>~$ 2018-08-06_00:30:39.99739 {"deployment":"cf-3dc74d032cbc62c7fd76","job":"router","index":2,"job_state":"running","vitals":{"cpu":{"sys":"0.4","user":"1.1","wait":"11.4"},"disk":{"ephemeral":{"inode_percent":"1","percent":"6"},"system":{"inode_percent":"30","percent":"37"}},"load":["0.14","0.08","0.04"],"mem":{"kb":"255032","percent":"25"},"swap":{"kb":"184","percent":"0"},"uptime":{"secs":2368202}},"node_id":"34d09360-b21f-4328-a2dc-f6a6b4211c42"}</nowiki></div> | ||
+ | --> |
Revision as of 11:42, 6 August 2018
Cloud Foundry | Cloud Foundry CLI | Apps | Tasks | Logs
Contents |
Overview
This is an attempt to break down the components within logs for each type of deployment.
Router
Router logs have 2 main folders, one containing application logs, the other containing a combination of deployment and health logs.
Each deployment instance will have its own set of logs.
Application Logs
Deployment/Health Logs
These logs are limited to 1MB in size, after which they will roll to a new log file.
Example Structure
Contents
Within the logs you will see references to deployment changes and health monitors. a few things that are shown are:
This text is not collapsible; but the next is collapsible and hidden by default: