Wednesday, June 20, 2018

Should we stop writing to log files?

My hypothesis says: We should start writing to process -> stdout (Core, Linux) instead of log files. The modern deployment models, k8s and serverless, dictate short-lived hardware that gets standard input and emits standard output, sometime without disc access or with disc that dies frequently. When you write to stdout (under the hood, this is just a file descriptor) those platforms will collect and forward the entries. No additional configuration is needed. On the other hand, writing to log files demands custom configurations + mounting + assuming write permissions - we deviate from the standards that the platforms suggest. What do you think?

Should we stop writing to log files? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team