Changed the Format of the Logger and extended the Logger by a pattern to show the PID of the current Process

Fixed the bug where the context wasnt copied right