Hi,
I'm trying to set a log rotation time for my consul server, but every time I ran the command below I get this error: "* log_rotate_duration: invalid duration: "24": time: unknown unit day in duration 24", I though it supposed to be 24 hours, but after several tries I have no clue which value it takes.
.\consul.exe agent -data-dir=D:\some_path\consul -config-dir=D:\some_path\consul -log-file=D:\some_path\consul\logs|log_consul.log -log-rotate-bytes=1048576 -log-rotate-duration=XXX -server=true -bootstrap=true -datacenter="BLABLA" -ui=true -client='XXXXX -bind='XXXXX'
What is the actual value unit for that parameters?, I want to use 5 or 50 minutes, because I have almost 200's health checks and the log write a lot of info. BTW there is a bug and consul does not respect the trace level, even if you put INFO, you get DEBUG, check this out:
https://github.com/hashicorp/consul/pull/5510
I believe the documentation needs some clarity, thank you.
Best wishes.