0
我正在寻找建立到应用程序一些自定义日志记录信息稍后在其他部分其他应用程序中使用。用最简单的术语来说,这是一个“每个用户”的日志。'每X'登录Rails应用程序
什么是最好的方式去做这件事?
1. log to dev/production log, then find some way to parse that when I need to information
2. create a custom log file, then parse that when needed
3. log the info to a db text field with the user
我已经开始寻找到这一点,所有的3可行的,我很好奇,以他人如何以标准化的方式(也许这是我没有想到的)解决了这个。
重申:对于rails应用程序的实体日志记录,最好的方法是什么?