Php 572 j and journal support

Note that this is based ontop of the new logging framework as it makes it dramatically easier to write the tests