-
Notifications
You must be signed in to change notification settings - Fork 363
How logging works
Lisa Cho edited this page Nov 2, 2017
·
4 revisions
The bash function tee_output_to_sys_log_and_file
here takes STDOUT and STDERR for the bash script and outputs to log files in /var/vcap/sys/log/cloud_controller
and to syslog. For example, our CC startup script here writes logs to cloud_controller_ng_ctl.log
and cloud_controller_ng_ctl.err.log
using this tee function.
The StenoLogger used in most places in cloud controller writes directly to the configured file and also to syslog, where syslogs are stored in /var/log
.
-
Pipelines
-
Contributing
- Tips and Tricks
- Cloud Controller API v3 Style Guide
- Playbooks
- Development configuration
- Testing
-
Architectural Details
-
CC Resources
- Apps
- Audit Events
- Deployments
- Labels
- Services
- Sidecars
-
Dependencies
-
Troubleshooting
- Ruby Console Script to Find Fields that Cannot Be Decrypted
- Logging database queries in unit tests
- Inspecting blobstore cc resources and cc packages(webdav)
- How to Use USR1 Trap for Diagnostics
- How to Perf: Finding and Fixing Bottlenecks
- How to get access to mysql database
- How To Get a Ruby Heap Dumps & GC Stats from CC
- How to curl v4 internal endpoints with mtls
- How to access Bosh Director console and restore an outdated Cloud Config
- Analyzing Cloud Controller's NGINX logs using the toplogs script
-
k8s
-
Archive