SSH command logging not working with Byobu

While using Byobu, SSH command history is not logged.

Also downloaded SSH command history file shows Error: "Could not parse pty data" when decrypting, encrypted file.