In a web app, is it wise to give log files ".txt" suffix?
- by Pekka
I am building a logging mechanism in a web application.
Being a Windows man, I tend to give files with textual content the .txt ending. The suffix is automatically registered to be opened in a text editor in any Windows environment, and is just a nice convention.
The app is going to be redistributed, and running mostly on Linux, though. The Linux convention for log files is .log.
Is there any good reason on the Linux end, besides convention, why I should use .log? Any filters, real-life applications that could become relevant and that will work only with a .log suffix?
Or can I merrily call it error_log.txt?