I added some code to my
servlet to log System.out.println() error messages to my log.txt file:
I checked the log.txt file after a few runs of the servlet, and it contained some output, so I thought all was fine.
I then decided I wanted to empty the log file, so I deleted it from the server, then replaced it with a new (empty) log.txt file - but now the new log.txt file stays empty!
Does anyone know why this is happening? If it is normal, how can I best empty the log.txt file?
Thanks,
James