You are viewing a single comment's thread from:

RE: Using pino for logging in my nodejs application

in LeoFinance16 days ago

at my work place we have both file log and database log... file log is tedious, you need to to grep to search if you are on linux, then you have retention and lose files... database is easier, you do a select, you can keep more log than files as it takes less space

Sort:  

There are tools like splunk that helps in doing faster queries. But yeah the database is convenient.