所以我正在尝试实现 Log4j 功能 File Appender,但是我似乎无法让 appengine 创建 log4j 文件。我拥有正确的权限,并且我希望其所在的文件夹确实存在。我无法解决这个问题。
最佳答案
这是一个基本的 App Engine 限制:您无法写入文件系统。
An App Engine application cannot:
- write to the filesystem. Applications must use the App Engine datastore for storing persistent data. Reading from the filesystem is allowed, and all application files uploaded with the application are available.
关于java - 是否可以在 Google App Engine 中使用文件附加程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15790855/