Add logx support for lseries

This is mostly for #2411 and includes #2438.