tree: ef3b88e8e54a2a4c7d0ac5a185dadbf240583a67 [path history] [tgz]
  1. bootid_logger.cc
  2. bootid_logger.h
  3. bootid_logger_fuzzer.cc
  4. bootid_logger_test.cc
  5. BUILD.gn
  6. constants.h
  7. log-bootid-on-boot.conf
  8. main.cc
  9. OWNERS
  10. README.md
  11. timestamp_util.cc
  12. timestamp_util.h
  13. 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