Open kurubavinodkumar opened 1 year ago
I need to get log last 10 min . I am not able to find a solution
example : var parameters = new ContainerLogsParameters { ShowStdout = true, ShowStderr = true, Timestamps = true, Since = "1" };
Stream logStream = await (client.Containers.GetContainerLogsAsync(container.ID, parameters, default)).ConfigureAwait(false);
in above example what should I pass since value
The since and until parameter receives a UNIX timestamp. Here is an example. The count starts at the Unix Epoch.
since
until
I need to get log last 10 min . I am not able to find a solution
example : var parameters = new ContainerLogsParameters { ShowStdout = true, ShowStderr = true, Timestamps = true, Since = "1" };
Stream logStream = await (client.Containers.GetContainerLogsAsync(container.ID, parameters, default)).ConfigureAwait(false);
in above example what should I pass since value