[FIX] Remove logs/ directory from git

[FOLD] do not save logs for test environments

[FIX] Create log directory and file if not exists

[FOLD] Pass jshint