Where does Railo store files created by when using the file attribute?
在使用文件属性时,Railo在哪里存储文件?
I.e.
<cflog file="mylogfile" text="SOME ALERT HERE">
The 'Tag Reference' in the Web Administrator does not give an indication, and neither does http://wiki.getrailo.org/wiki/3-1-Tags:CFLog
Web管理员中的“标记引用”没有给出指示,也没有http://wiki.getrailo.org/wiki/3-1-Tags:CFLog
2 个解决方案
#1
I tracked it down with a find command:
我用find命令跟踪它:
/opt/railo/webapps/ROOT/WEB-INF/railo/logs/
The /opt/railo/ part will vary depending on where railo was installed.
/ opt / railo / part将根据railo的安装位置而有所不同。
#2
Railo stores log files in the Web-Inf directory for each web context if multiple contexts are allowed in your settings (Tomcat for example). Otherwise, they are stored in the main installation.
如果您的设置中允许多个上下文(例如Tomcat),Railo会将日志文件存储在Web-Inf目录中,以用于每个Web上下文。否则,它们存储在主安装中。
#1
I tracked it down with a find command:
我用find命令跟踪它:
/opt/railo/webapps/ROOT/WEB-INF/railo/logs/
The /opt/railo/ part will vary depending on where railo was installed.
/ opt / railo / part将根据railo的安装位置而有所不同。
#2
Railo stores log files in the Web-Inf directory for each web context if multiple contexts are allowed in your settings (Tomcat for example). Otherwise, they are stored in the main installation.
如果您的设置中允许多个上下文(例如Tomcat),Railo会将日志文件存储在Web-Inf目录中,以用于每个Web上下文。否则,它们存储在主安装中。