Fix use of 'compressed' flag for printlog.
Added printlog call to test case for log compression.
Refs #1472.