Why does a log file have the extension swp?
linux, log4j, logging
Solution
Those are `vim` "swap" files -- temporary files created by `vim` while you are editing a file. They are (usually) removed automatically when you exit the editor.
Problem
My log files are generated inside a particular directory on my Linux server. Sometimes when I view the log files inside that directory using `ls -lart`, I see: ``` abc.log .abc.log.swp ``` Could anybody please explain why the log file has the name `.abc.log.swp`?