| ||Ask HN: How do you log application events?|
221 points by GaiusCoffee on Apr 27, 2015 | hide | past | web | favorite | 110 comments |
|We are currently inserting our logs in an sql database, with timestamp, logType, userId, userAgent and description columns. It makes it trivial for us to debug any event by just querying the db. However, after three and a half years of continued use, the table is now way too large.|
How do you guys log application events in such a way that extracting information from it is easy, but still keep the size of the logs manageable?
Applications are open for YC Summer 2019
| Apply to YC