Log capability added
Some changes