Added gitignore.
Added a marker file to keep the log directory.
snap init default