@Tanul , With the curl itself, you can scope the live traces to any providers/folders, you may additional specify the path.
Kudu service (as well as its application) write traces to the /Logfiles folder. The logstream endpoint (/logstream in the Kudu service) enables you to view with any real time traces as they are being written.
/api/logstream/kudu/trace => kudu related traces intended for diagnostic kudu issues.
/api/logstream/kudu/deployment => kudu deployment traces intended for application developers/operators.
/api/logstream/application => application traces.
/api/logstream/http => iis logs.
Kindly see this Diagnostic Log Stream for more details.
Yes, you can change DIAGNOSTICS_TEXTTRACETURNOFFPERIOD to a value greater than 12 hours (12 * 60 * 60 * 1000 in milliseconds) based on your requirement (considering the space).