tree: 3f9bd291ca1a611db3eaaff6cce78f4ebaa0c7eb [path history] [tgz]
  1. bootid_logger.cc
  2. bootid_logger.h
  3. bootid_logger_test.cc
  4. BUILD.gn
  5. constants.h
  6. log-bootid-on-boot.conf
  7. main.cc
  8. OWNERS
  9. README.md
  10. timestamp_util.cc
  11. timestamp_util.h
  12. timestamp_util_test.cc
bootid-logger/README.md

bootid-logger - Record the current boot id to log.

This is intended to be used by croslog.

Design doc: go/cros-journald-removal

Format of the boot ID log

The boot IDs are stored in /var/log/boot_id.log. Each line corresponds to a single boot.

The example of line (in this case, the boot ID is “12345678901234567890123456789012”)

2020-12-01T00:00:00.000000+00:00 INFO boot_id: 12345678901234567890123456789012