On 24.11.21 15:47, Dominik Csapak wrote:
> in the format:
> {"data":[... log lines ...],"success":1}
> 
> this is chosen so that we can achieve api compatibility when we stream
> this output to an api client
> 
> strings are escaped by replacing '"', '\' and all values <= 0x1F by their
> \uXXXX representation
> 
> invalid utf8 sequences will be returned as they are
> (jq and the browser can handle that)
> 
> Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
> ---
>  src/mini-journalreader.c | 66 ++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 63 insertions(+), 3 deletions(-)
> 
>

applied, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to