[Bug 336619] logprof fails with german locale in certain cases