You're using the wrong syntax for $readini
If you want to look at the logfiles of channel's history, you can see them from the top menu: /tools/log-files
If that's not what you want, please be more descriptive of what you want to do