installanywhere redirect debug logs to file

拥有回忆 提交于 2019-12-23 04:54:12

问题


For debugging the Installanywhere created applications, I use

export LAX_DEBUG=true

then I run my installer as

./setup.sh -DDEBUG=console

which redirects all the debug logs to console. Can I redirect this logs to any file so that I can mention as:

./setup.sh -DDEBUG=/tmp/a.txt

Thanks in advance...


回答1:


Installanywhere put all logs to -log.log file in installation directory chosen by user. To have additional entries in that file, you need to use CustomError class with appendMessage and appendError apis.



来源:https://stackoverflow.com/questions/12036425/installanywhere-redirect-debug-logs-to-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!