add groups and get logs method for compose library