logging modification

Adjusted log formatting, cleaned up messages, added rotating handler