~harlowja/cloud-init/cmdline-kernel-logging

« back to all changes in this revision

Viewing changes to doc/examples/cloud-config-log-level.txt

  • Committer: Joshua Harlow
  • Date: 2012-09-04 20:47:16 UTC
  • Revision ID: harlowja@yahoo-inc.com-20120904204716-z8lh3kolnukieo6l
Add log level cloud config example.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#cloud-config
 
2
# vim: syntax=yaml
 
3
#
 
4
# This is the configuration syntax that can be used to alter the logging
 
5
# level of the cloud-init python logging subsystem. It is typically easier
 
6
# to use this new setting than overriding the full logging config that is
 
7
# setup by cloud-init. This syntax can also be used in the cc: <yaml> end_cc
 
8
# style of specifying this configuration via the kernel command line.
 
9
#
 
10
log_level: DEBUG
 
11
# This will override the system logging and make it use DEBUG level instead
 
12
# of the typical WARN level.
 
13
#
 
14
# Other valid options here are the following:
 
15
# C => 'CRITICAL'
 
16
# E => 'ERROR'
 
17
# D => 'DEBUG'
 
18
# F => 'FATAL'
 
19
# I => 'INFO'
 
20
# WARN => 'WARNING'
 
21
# W => 'WARNING'
 
22
# ERROR
 
23
# DEBUG
 
24
# FATAL
 
25
# INFO
 
26
# WARNING
 
27
# CRITICAL
 
28