It will collect all the switches. Afterwards they are collect on the root process and logged there. This commit includes a small test program.