Guest User

Untitled

a guest
Jan 28th, 2014
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. Last boot:
  2. 2014-01-28 20:36:29,960 - cloud-init[INFO]: cloud-init start-local running: Tue, 28 Jan 2014 20:36:29 +0000. up 8.74 seconds
  3. 2014-01-28 20:36:31,884 - cloud-init[INFO]: cloud-init start running: Tue, 28 Jan 2014 20:36:31 +0000. up 10.79 seconds
  4.  
  5.  
  6.  
  7. [AWS/eu2:] root@abc99-eu2:/etc/cloud/cloud.cfg.d# cat *
  8. ## this yaml formated config file handles setting
  9. ## logger information. The values that are necessary to be set
  10. ## are seen at the bottom. The top '_log' are only used to remove
  11. ## redundency in a syslog and fallback-to-file case.
  12. ##
  13. ## The 'log_cfgs' entry defines a list of logger configs
  14. ## Each entry in the list is tried, and the first one that
  15. ## works is used. If a log_cfg list entry is an array, it will
  16. ## be joined with '\n'.
  17. _log:
  18. - &log_base |
  19. [loggers]
  20. keys=root,cloudinit
  21.  
  22. [handlers]
  23. keys=consoleHandler,cloudLogHandler
  24.  
  25. [formatters]
  26. keys=simpleFormatter,arg0Formatter
  27.  
  28. [logger_root]
  29. level=DEBUG
  30. handlers=consoleHandler,cloudLogHandler
  31.  
  32. [logger_cloudinit]
  33. level=DEBUG
  34. qualname=cloudinit
  35. handlers=
  36. propagate=1
  37.  
  38. [handler_consoleHandler]
  39. class=StreamHandler
  40. level=WARNING
  41. formatter=arg0Formatter
  42. args=(sys.stderr,)
  43.  
  44. [formatter_arg0Formatter]
  45. format=%(asctime)s - %(filename)s[%(levelname)s]: %(message)s
  46.  
  47. [formatter_simpleFormatter]
  48. format=[CLOUDINIT] %(filename)s[%(levelname)s]: %(message)s
  49. - &log_file |
  50. [handler_cloudLogHandler]
  51. class=FileHandler
  52. level=DEBUG
  53. formatter=arg0Formatter
  54. args=('/var/log/cloud-init.log',)
  55. - &log_syslog |
  56. [handler_cloudLogHandler]
  57. class=handlers.SysLogHandler
  58. level=DEBUG
  59. formatter=simpleFormatter
  60. args=("/dev/log", handlers.SysLogHandler.LOG_USER)
  61.  
  62. log_cfgs:
  63. - [ *log_base, *log_syslog ]
  64. - [ *log_base, *log_file ]
  65. datasource_list: [ GCE ]
  66. final_message: "The system is finally up, after $UPTIME seconds"
  67. # All files in this directory will be read by cloud-init
  68. # They are read in lexical order. Later files overwrite values in
  69. # earlier files.
Advertisement
Add Comment
Please, Sign In to add comment