要解决这个问题,您可以重新启动拥有这个日志文件的服务,不过该服务的中断可能会引起一些不必要的麻烦。
To get around this problem, you could restart the service that owns the log file, although this service interruption might cause a rebellion among your users.
有几种方法可以做到在不重新启动应用的情况下更新类,但每种方法都有其问题。
There are several ways to address the problem of updating changed classes within an application without restarting, but all come with different problems.
这种情况发生时,您的惟一选择就是重新启动,重新启动实际上不会节约任何能源,并且您还会面临相同的数据损失问题。
When this happens your only choice is to reboot, which doesn't really save any energy, and you have the same issues with data loss.
应用推荐