God helped us keep a few services running in Rails (especially Nginx and MySQLd), but I hope to get more details when it really starts to work. So far, installing a view log file using w.log = /var/log/god/mysql.log(for example) gives us many things like this:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
* Starting MySQL database server mysqld
...done.
... which is kind of cool enough because it tells me that the server has gone down and God has restarted it, but I hope for something like a timestamp and maybe some other details. (Server load, memory status, or something else to help me diagnose the reason MySQLd came down.)
Does God support adding additional information to the log files when such events are triggered?
source
share