Create logc.sh