I'm runnig a java server on Debian with this command:
java -jar myapp.jar [args] >> log.txt
Once I gzipped the log file to send it and then I realized the original file was gone, leaving me with only the .gzip.
Although I created the file manually (and also tried to unzip the original) the app didn't log anymore to that file. So my questions are: where does that log go after that? Is there any way to re-route the output log file without restarting the app (as it is a server, I'd rather not kill the process).
Any help will be very much appreciated.
Regards, Rodrigo