Traefik logs rotation on windows

Traefik exe installed on windows,
how do we rotate the log file without stopping the service.
is there a way to redirect the output to another listener

Hi @us9898

You can't.

The default log output is stdout. If you leverage that with a log forwarder or named pipe you might have a solution.

@cakiwi ,
thank you the response,
Do u have an example i could refer how to get the log forwarder or named pipe to read from stdout
any link etc

nxlog has im_exec. Looks like that would work.

There might be others, mine is a Linux/Docker world.

thanks again for the reply,

I m running as an exe on windows, due to limitation I cannot use docker yet.