3 ms·
Better Cloud Logging — Most of the logging solutions I have seen rely on sending big dump of log files which, then, can be searched. I think it creates unneeded
by shubhamjain 10y ago
Better Cloud Logging — Most of the logging solutions I have seen rely on sending big dump of log files which, then, can be searched. I think it creates unneeded noise as most of the logging data generated with server applications, by default, might not be useful enough. A better approach might be to send logging messages as events manually from various parts of your stack. It can be a better solution to debug a problem as following the flow becomes easier.
For eg, instead of relying on stack trace generated by an exception, we can ask developers to carefully log every step in the application flow ("request from user", "starting database", "user authenticated", "authentication failed") as it'll give a clearer picture on how the error happened.
In some ways, it combines the features of Mixpanel and Rollbar. In fact, sometimes, I have found event logging to be more fruitful rather than using something like Loggly.