digitalocean / doctl

The official command line interface for the DigitalOcean API.
https://docs.digitalocean.com/reference/doctl/
Apache License 2.0
3.26k stars 397 forks source link

fix(app): #1536 fix logging format to work with pino-pretty #1593

Closed mohit-nagaraj closed 1 month ago

mohit-nagaraj commented 1 month ago

Summary

This PR introduces a new --output-json flag for the RunAppsGetLogs function in the DigitalOcean CLI (doctl). When this flag is used, the logs are outputted in JSON format without the service name and timestamp prefix.

Changes Made

Closes #1536

mohit-nagaraj commented 1 month ago

Sure got it fixing them

mohit-nagaraj commented 1 month ago

Hey I updated code as specified, Could you re-review them will implement any of the changes you say