diskimage-builder/releasenotes/notes
Ian Wienand f60dd38482 Add timestamp output filter
This adds a devstack-inspired output filter to standardise
timestamping.

Currently, python tools timestamp always (timestamp setup in
logging_config.py) but all the surrounding bash does not.

We have extra timestamps added in run_functests.sh for our own
purposes to get the bash timestamps; but this ends up giving us
double-timestamps for the python bits.  Additionally, callers such as
nodepool capture our output and put their own timestamps on it, and
again have the double-timestamps.

This uses a lightly modified outfilter.py from devstack to standardise
this.

All output is run through this filter, which will timestamp it.  I
have removed the places where we double-timestamp -- logging_config.py
and the prefix in dib-run-parts.

An env option is added to turn timestamps off completely (does not
seem worth taking up a command-line option for).  For callers like
nodepool, they can set this and will just have their own timestamps as
they collect the lines.

Since all logging is going through outfilter, it's easy to add a
--logfile option.  I think this will be quite handy; personally I'm
always redirecting dib runs to files for debugging.

I've also added a "quiet" option.  I think this could be useful in
run_tests.sh if we were to start logging the output of each test to
individual files.  This would be much easier to deal with than the
very large log files we get (especially if we wanted to turn on
parallel running...)

Change-Id: I202e1cb200bde17f6d7770cf1e2710bbf4cca64c
2017-06-16 15:58:50 +10:00
..
1.16.0-updates-bad91fc0b36c1755.yaml Add 1.16.0 releasenotes 2016-05-16 11:09:39 +10:00
1.17.0-ef744f36d277dba4.yaml Release notes for 1.17.0 2016-06-07 10:57:10 +10:00
1.18.0-4433d3076627f10d.yaml Release notes for 1.18 2016-06-28 09:20:21 +10:00
1.18.1-ceeb514708dcb731.yaml Add 1.18.1 releasenotes 2016-07-05 22:17:50 +00:00
block-device-handling-279cddba8a859718.yaml Add release notes for block device handling. 2016-09-23 09:36:19 +02:00
block-device-mkfs-mount-fstab-42d7efe28fc2df04.yaml Refactor: block-device filesystem creation, mount and fstab 2017-05-12 13:52:02 +02:00
block-device-partitioning-237249e7ed2bad26.yaml Refactor: block-device handling (partitioning) 2017-01-24 19:59:10 +00:00
dash-p-after-install-58a87549c1c906c3.yaml Move do_extra_package_install to run in install phase 2017-04-10 08:32:47 +10:00
dib-init-system_fix_for_debian_jessie-c6f7261ee84dad27.yaml Fix dib-init-system for Debian Jessie and Debian Stretch 2017-03-11 14:04:13 +00:00
dib-run-parts-6f67d038aa5a4156.yaml Run dib-run-parts out of /tmp 2017-04-05 13:11:22 +10:00
dib-run-parts-e18cc3a6c2d66c24.yaml Don't provide dib-run-parts 2017-04-05 13:11:20 +10:00
dibv2-omnibus-b30e0c7ecd76db8d.yaml Add 2.0.0 release notes 2017-03-10 14:29:30 +11:00
doc-auto-element-dependency-cb7488c5bb7301a4.yaml Semi-automatic doc generation of element dependency 2017-02-09 09:50:30 +11:00
dracut-network-adaabf90da9f6866.yaml Remove dracut-network element 2017-05-31 08:36:56 +10:00
element-info-entry-point-448bf622be6061a0.yaml Move element-info to a standard entry-point 2016-09-08 15:29:56 +10:00
element-override-ccda78c24ab4a4ff.yaml Making element overriding explicit 2016-09-08 10:58:19 +10:00
element-vars-c6bf2e6795002f01.yaml Add IMAGE_ELEMENT_YAML and get_image_element_array 2016-09-08 11:08:07 +10:00
grub-timeout-1cdd14a2b1467d89.yaml Set grub timeout default 2016-12-20 11:46:22 +11:00
move_tidy_logs_to_main-a8c03427fe1a445c.yaml Unify tidy up logs in lib/img-functions 2017-01-14 09:40:44 +00:00
openssh-server-0f6d065748a2fc18.yaml elements: Add new openssh-server element 2016-11-22 10:07:14 +00:00
opensuse-minimal-45267f5be1112c22.yaml Add opensuse-minimal element 2016-10-05 09:39:29 +01:00
package-install-arch-38bb5a6e61794fa5.yaml package-installs: add list to arch and "not-arch" list 2016-07-01 21:31:59 +02:00
package-outside-debootstrap-ac93e9ce991819f1.yaml Perform package install outside of debootstrap 2016-11-30 15:16:46 +11:00
remove-dib-utils-37f70dfad54900a0.yaml Move dib-run-parts into diskimage-builder 2016-11-04 17:07:37 +11:00
runtime-ssh-host-keys-7a2fc873cc90d33e.yaml Create runtime-ssh-host-keys element 2016-09-26 12:32:38 -04:00
squashfs-output-91c1f0dc37474d3c.yaml Add squashfs output image format 2016-12-19 07:21:39 +00:00
start-using-reno-446b3d52a467a273.yaml Add releasenotes 2016-04-21 13:19:53 +10:00
timestamp-43015aa5434e8ddb.yaml Add timestamp output filter 2017-06-16 15:58:50 +10:00
yum-cache-removal-148c33012515e56e.yaml Remove yum chroot caching 2016-12-20 13:56:46 +11:00