Nginx – log rotation problem on custom application
I have server program, written in C++. I usually start it as db_net 2> log_file I do not use anything special about logging, just print on stderr. However sometimes, the log_file become huge. If I do echo > log_file It…